#0E0218#0E0218
#0E0218 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.3% C 0.054 H 308.7°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).
Color values
| HEX | #0E0218 |
|---|---|
| RGB | rgb(14, 2, 24) |
| HSL | hsl(273, 85%, 5%) |
| HSV | hsv(273, 92%, 9%) |
| CMYK | cmyk(41.7%, 91.7%, 0%, 90.6%) |
| CIE-LAB | lab(1.83, 7.17, -9.48) |
| CIE-LCH | lch(1.83, 11.89, 307.08°) |
| OKLab | oklab(13.33% 0.0338 -0.0422) |
| OKLCH | oklch(13.33% 0.054 308.7) |
| XYZ | xyz(0.3676, 0.2027, 0.8837) |
| Luminance | 0.0020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 9.61
Dark Navy Blue
#00022E
ΔE00 9.98
Black
#000000
ΔE00 10.88
Very Dark Brown
#1D0200
ΔE00 10.88
Very Dark Blue
#000133
ΔE00 11.55
Dark Navy
#000435
ΔE00 11.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0E0218 #0C1802
analogous
#030218 #0E0218 #180217
triadic
#0E0218 #180E02 #02180E
tetradic
#0E0218 #180302 #0C1802 #021718
square
#0E0218 #180302 #0C1802 #021718
split-complementary
#0E0218 #171802 #021803
monochromatic
#10021C #10021C #10021C #2F0750 #500B89
Accessibility & contrast
On white
20.18
#0E0218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#0E0218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0E0218
20.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0E0218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0E0218 | 1.00 | 20.18 | 1.04 | 20.18 |
| #FFFFFF | 20.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000619
Deuteranopia (green-blind)
#000717
Tritanopia (blue-blind)
#0C050B
Achromatopsia (no color)
#070707
Design tokens & code
CSS
--color: #0e0218; /* rgb */ color: rgb(14, 2, 24); /* oklch */ color: oklch(13.3% 0.054 308.7);
Tailwind
colors: {
custom: {
50: '#4d4754',
500: '#0e0218',
950: '#000000',
},
}SCSS
$custom: #0e0218; $custom-light: #4d4754; $custom-dark: #000000;
JSON
{
"hex": "#0e0218",
"rgb": {
"r": 14,
"g": 2,
"b": 24
},
"hsl": {
"h": 272.727,
"s": 84.615,
"l": 5.098
},
"oklch": {
"l": 0.13334,
"c": 0.05404,
"h": 308.7
},
"luminance": 0.00203
}Semantic roles & 50–950 ramp
primary
#0E0218
secondary
#385E18
accent
#FB2D8B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778