#1E022F#1E022F
#1E022F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.087 H 309.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1E022F |
|---|---|
| RGB | rgb(30, 2, 47) |
| HSL | hsl(277, 92%, 10%) |
| HSV | hsv(277, 96%, 18%) |
| CMYK | cmyk(36.2%, 95.7%, 0%, 81.6%) |
| CIE-LAB | lab(4.74, 22.67, -22.81) |
| CIE-LCH | lch(4.74, 32.16, 314.83°) |
| OKLab | oklab(18.54% 0.055 -0.0677) |
| OKLCH | oklch(18.54% 0.087 309.1) |
| XYZ | xyz(1.0701, 0.5247, 2.7337) |
| Luminance | 0.0053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.31
Very Dark Purple
#2A0134
ΔE00 3.58
Dark Purple
#35063E
ΔE00 5.56
Dark Violet
#34013F
ΔE00 5.79
Deep Purple
#36013F
ΔE00 6.13
Eggplant
#380835
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E022F #132F02
analogous
#07022F #1E022F #2F022A
triadic
#1E022F #2F1E02 #022F1E
tetradic
#1E022F #2F0702 #132F02 #022A2F
square
#1E022F #2F0702 #132F02 #022A2F
split-complementary
#1E022F #2A2F02 #022F07
monochromatic
#13011D #13011D #1E022F #43046A #6907A4
Accessibility & contrast
On white
19.00
#1E022F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#1E022F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E022F
19.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E022F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E022F | 1.00 | 19.00 | 1.11 | 19.00 |
| #FFFFFF | 19.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#1B0C18
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #1e022f; /* rgb */ color: rgb(30, 2, 47); /* oklch */ color: oklch(18.5% 0.087 309.1);
Tailwind
colors: {
custom: {
50: '#5b4768',
500: '#1e022f',
950: '#000000',
},
}SCSS
$custom: #1e022f; $custom-light: #5b4768; $custom-dark: #000000;
JSON
{
"hex": "#1e022f",
"rgb": {
"r": 30,
"g": 2,
"b": 47
},
"hsl": {
"h": 277.333,
"s": 91.837,
"l": 9.608
},
"oklch": {
"l": 0.18536,
"c": 0.08725,
"h": 309.1
},
"luminance": 0.00525
}Semantic roles & 50–950 ramp
primary
#1E022F
secondary
#3B7419
accent
#FF297A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A