#120E18#120E18
#120E18 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.4% C 0.021 H 302.6°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).
Color values
| HEX | #120E18 |
|---|---|
| RGB | rgb(18, 14, 24) |
| HSL | hsl(264, 26%, 7%) |
| HSV | hsv(264, 42%, 9%) |
| CMYK | cmyk(25%, 41.7%, 0%, 90.6%) |
| CIE-LAB | lab(4.59, 3.60, -5.41) |
| CIE-LCH | lch(4.59, 6.50, 303.64°) |
| OKLab | oklab(17.39% 0.0114 -0.0179) |
| OKLCH | oklch(17.39% 0.021 302.6) |
| XYZ | xyz(0.5713, 0.5086, 0.9321) |
| Luminance | 0.0051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Black
#000000
ΔE00 7.05
Almost Black
#070D0D
ΔE00 8.18
Dark
#1B2431
ΔE00 8.58
Very Dark Brown
#1D0200
ΔE00 10.22
Midnight
#03012D
ΔE00 12.99
Dark Navy Blue
#00022E
ΔE00 13.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#120E18 #14180E
analogous
#0E0F18 #120E18 #170E18
triadic
#120E18 #18120E #0E1812
tetradic
#120E18 #180E0F #14180E #0E1817
square
#120E18 #180E0F #14180E #0E1817
split-complementary
#120E18 #18170E #0F180E
monochromatic
#0E0B13 #0E0B13 #120E18 #2F253F #4C3B65
Accessibility & contrast
On white
19.06
#120E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#120E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #120E18
19.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##120E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##120E18 | 1.00 | 19.06 | 1.10 | 19.06 |
| #FFFFFF | 19.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C1018
Deuteranopia (green-blind)
#0D1018
Tritanopia (blue-blind)
#110F12
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #120e18; /* rgb */ color: rgb(18, 14, 24); /* oklch */ color: oklch(17.4% 0.021 302.6);
Tailwind
colors: {
custom: {
50: '#4f4d54',
500: '#120e18',
950: '#000000',
},
}SCSS
$custom: #120e18; $custom-light: #4f4d54; $custom-dark: #000000;
JSON
{
"hex": "#120e18",
"rgb": {
"r": 18,
"g": 14,
"b": 24
},
"hsl": {
"h": 264,
"s": 26.316,
"l": 7.451
},
"oklch": {
"l": 0.17389,
"c": 0.02123,
"h": 302.6
},
"luminance": 0.00509
}Semantic roles & 50–950 ramp
primary
#120E18
secondary
#434D35
accent
#C3659D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778