#100021
a deep, electric violet · warm · closest name: black
RGB
16, 0, 33
HSL
269°, 100%, 7%
CMYK
52, 100, 0, 87
Luminance
0.0022
Every format
| HEX | #100021 |
| RGB | rgb(16, 0, 33) |
| HSL | hsl(269, 100%, 7%) |
| CMYK | cmyk(52%, 100%, 0%, 87%) |
| LAB | lab(2.0 11.4 -16.4) |
| LCH | lch(2.0 20.0 304.8) |
| OKLCH | oklch(0.140 0.073 303.4) |
Copy-ready code
/* CSS */
color: #100021;
background-color: #100021;
/* Tailwind (arbitrary) */
class="text-[#100021] bg-[#100021]"
/* SCSS */
$brand: #100021;
/* SwiftUI */
Color(red: 0.063, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#100021")Accessibility — WCAG contrast
Aa
#100021 on white: 20.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#100021 on black: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red6.3%
Green0.0%
Blue12.9%
CMYK percentages
Cyan51.5%
Magenta100.0%
Yellow0.0%
Key (black)87.1%
Color previews
#100021 text on a black background
contrast 1.04:1
Card sample
#100021 text on a white background
contrast 20.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #100021;
Background color
Panel with #100021 background
background-color: #100021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #100021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(16, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(16, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #100021; background: linear-gradient(135deg, #100021, #21001C);