#08041C#08041C
#08041C is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.6% C 0.052 H 287.1°. Best body text is #FFFFFF at 20.11:1 contrast (WCAG AA passes).
Color values
| HEX | #08041C |
|---|---|
| RGB | rgb(8, 4, 28) |
| HSL | hsl(250, 75%, 6%) |
| HSV | hsv(250, 86%, 11%) |
| CMYK | cmyk(71.4%, 85.7%, 0%, 89%) |
| CIE-LAB | lab(2.01, 5.81, -12.48) |
| CIE-LCH | lch(2.01, 13.77, 294.96°) |
| OKLab | oklab(13.57% 0.0154 -0.05) |
| OKLCH | oklch(13.57% 0.052 287.1) |
| XYZ | xyz(0.3531, 0.2223, 1.1227) |
| Luminance | 0.0022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 7.73
Dark Navy Blue
#00022E
ΔE00 7.90
Very Dark Blue
#000133
ΔE00 9.54
Navy (survey)
#01153E
ΔE00 9.64
Dark Navy
#000435
ΔE00 9.65
Dark
#1B2431
ΔE00 10.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08041C #181C04
analogous
#040C1C #08041C #14041C
triadic
#08041C #1C0804 #041C08
tetradic
#08041C #1C040C #181C04 #041C14
square
#08041C #1C040C #181C04 #041C14
split-complementary
#08041C #1C1404 #0C1C04
monochromatic
#08041B #08041B #08041C #170C52 #271387
Accessibility & contrast
On white
20.11
#08041C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#08041C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08041C
20.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08041C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08041C | 1.00 | 20.11 | 1.04 | 20.11 |
| #FFFFFF | 20.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00081D
Deuteranopia (green-blind)
#00071B
Tritanopia (blue-blind)
#03090E
Achromatopsia (no color)
#070707
Design tokens & code
CSS
--color: #08041c; /* rgb */ color: rgb(8, 4, 28); /* oklch */ color: oklch(13.6% 0.052 287.1);
Tailwind
colors: {
custom: {
50: '#4a4858',
500: '#08041c',
950: '#000000',
},
}SCSS
$custom: #08041c; $custom-light: #4a4858; $custom-dark: #000000;
JSON
{
"hex": "#08041c",
"rgb": {
"r": 8,
"g": 4,
"b": 28
},
"hsl": {
"h": 250,
"s": 75,
"l": 6.275
},
"oklch": {
"l": 0.13573,
"c": 0.05231,
"h": 287.1
},
"luminance": 0.00222
}Semantic roles & 50–950 ramp
primary
#08041C
secondary
#545E1D
accent
#F236D2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778