#09040F#09040F
#09040F is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.5% C 0.029 H 306.7°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).
Color values
| HEX | #09040F |
|---|---|
| RGB | rgb(9, 4, 15) |
| HSL | hsl(267, 58%, 4%) |
| HSV | hsv(267, 73%, 6%) |
| CMYK | cmyk(40%, 73.3%, 0%, 94.1%) |
| CIE-LAB | lab(1.62, 2.94, -3.98) |
| CIE-LCH | lch(1.62, 4.95, 306.45°) |
| OKLab | oklab(12.46% 0.0174 -0.0233) |
| OKLCH | oklch(12.46% 0.029 306.7) |
| XYZ | xyz(0.2423, 0.1794, 0.4737) |
| Luminance | 0.0018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Black
#000000
ΔE00 5.32
Almost Black
#070D0D
ΔE00 7.05
Very Dark Brown
#1D0200
ΔE00 9.87
Dark
#1B2431
ΔE00 9.93
Midnight
#03012D
ΔE00 14.11
Dark Navy Blue
#00022E
ΔE00 14.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#09040F #0A0F04
analogous
#04040F #09040F #0E040F
triadic
#09040F #0F0904 #040F09
tetradic
#09040F #0F0404 #0A0F04 #040F0E
square
#09040F #0F0404 #0A0F04 #040F0E
split-complementary
#09040F #0F0E04 #040F04
monochromatic
#0E0618 #0E0618 #0E0618 #26113F #431E70
Accessibility & contrast
On white
20.27
#09040F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#09040F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #09040F
20.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##09040F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##09040F | 1.00 | 20.27 | 1.04 | 20.27 |
| #FFFFFF | 20.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02060F
Deuteranopia (green-blind)
#03060F
Tritanopia (blue-blind)
#080508
Achromatopsia (no color)
#060606
Design tokens & code
CSS
--color: #09040f; /* rgb */ color: rgb(9, 4, 15); /* oklch */ color: oklch(12.5% 0.029 306.7);
Tailwind
colors: {
custom: {
50: '#4b484e',
500: '#09040f',
950: '#000000',
},
}SCSS
$custom: #09040f; $custom-light: #4b484e; $custom-dark: #000000;
JSON
{
"hex": "#09040f",
"rgb": {
"r": 9,
"g": 4,
"b": 15
},
"hsl": {
"h": 267.273,
"s": 57.895,
"l": 3.725
},
"oklch": {
"l": 0.1246,
"c": 0.0291,
"h": 306.7
},
"luminance": 0.00179
}Semantic roles & 50–950 ramp
primary
#09040F
secondary
#394E21
accent
#E1479B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777