#1E012F#1E012F
#1E012F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.089 H 309.5°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1E012F |
|---|---|
| RGB | rgb(30, 1, 47) |
| HSL | hsl(278, 96%, 9%) |
| HSV | hsv(278, 98%, 18%) |
| CMYK | cmyk(36.2%, 97.9%, 0%, 81.6%) |
| CIE-LAB | lab(4.54, 23.14, -23.12) |
| CIE-LCH | lch(4.54, 32.71, 315.02°) |
| OKLab | oklab(18.34% 0.0569 -0.069) |
| OKLCH | oklch(18.34% 0.089 309.5) |
| XYZ | xyz(1.0593, 0.5030, 2.7301) |
| Luminance | 0.0050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.15
Very Dark Purple
#2A0134
ΔE00 3.46
Dark Purple
#35063E
ΔE00 5.50
Dark Violet
#34013F
ΔE00 5.68
Deep Purple
#36013F
ΔE00 6.03
Eggplant
#380835
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E012F #122F01
analogous
#07012F #1E012F #2F0129
triadic
#1E012F #2F1E01 #012F1E
tetradic
#1E012F #2F0701 #122F01 #01292F
square
#1E012F #2F0701 #122F01 #01292F
split-complementary
#1E012F #292F01 #012F07
monochromatic
#13011E #13011E #1E012F #44026B #6B04A7
Accessibility & contrast
On white
19.08
#1E012F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#1E012F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E012F
19.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E012F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E012F | 1.00 | 19.08 | 1.10 | 19.08 |
| #FFFFFF | 19.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#1B0B18
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #1e012f; /* rgb */ color: rgb(30, 1, 47); /* oklch */ color: oklch(18.3% 0.089 309.5);
Tailwind
colors: {
custom: {
50: '#5b4668',
500: '#1e012f',
950: '#000000',
},
}SCSS
$custom: #1e012f; $custom-light: #5b4668; $custom-dark: #000000;
JSON
{
"hex": "#1e012f",
"rgb": {
"r": 30,
"g": 1,
"b": 47
},
"hsl": {
"h": 277.826,
"s": 95.833,
"l": 9.412
},
"oklch": {
"l": 0.18342,
"c": 0.08948,
"h": 309.5
},
"luminance": 0.00503
}Semantic roles & 50–950 ramp
primary
#1E012F
secondary
#3A7517
accent
#FF2978
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A