#140D2C#140D2C
#140D2C is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.9% C 0.060 H 289.8°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).
Color values
| HEX | #140D2C |
|---|---|
| RGB | rgb(20, 13, 44) |
| HSL | hsl(254, 54%, 11%) |
| HSV | hsv(254, 70%, 17%) |
| CMYK | cmyk(54.5%, 70.5%, 0%, 82.7%) |
| CIE-LAB | lab(5.59, 12.22, -19.28) |
| CIE-LCH | lch(5.59, 22.83, 302.36°) |
| OKLab | oklab(18.92% 0.0204 -0.0564) |
| OKLCH | oklch(18.92% 0.06 289.8) |
| XYZ | xyz(0.8869, 0.6184, 2.4550) |
| Luminance | 0.0062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 4.59
Dark Navy Blue
#00022E
ΔE00 5.24
Very Dark Blue
#000133
ΔE00 6.10
Dark Navy
#000435
ΔE00 6.15
Midnight Blue (survey)
#020035
ΔE00 6.38
Navy (survey)
#01153E
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140D2C #252C0D
analogous
#0D152C #140D2C #230D2C
triadic
#140D2C #2C140D #0D2C14
tetradic
#140D2C #2C0D15 #252C0D #0D2C23
square
#140D2C #2C0D15 #252C0D #0D2C23
split-complementary
#140D2C #2C230D #152C0D
monochromatic
#0B0718 #0B0718 #140D2C #291B5B #3F298A
Accessibility & contrast
On white
18.69
#140D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#140D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140D2C
18.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140D2C | 1.00 | 18.69 | 1.12 | 18.69 |
| #FFFFFF | 18.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#01122B
Tritanopia (blue-blind)
#0D141A
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #140d2c; /* rgb */ color: rgb(20, 13, 44); /* oklch */ color: oklch(18.9% 0.060 289.8);
Tailwind
colors: {
custom: {
50: '#534c65',
500: '#140d2c',
950: '#000000',
},
}SCSS
$custom: #140d2c; $custom-light: #534c65; $custom-dark: #000000;
JSON
{
"hex": "#140d2c",
"rgb": {
"r": 20,
"g": 13,
"b": 44
},
"hsl": {
"h": 253.548,
"s": 54.386,
"l": 11.176
},
"oklch": {
"l": 0.18917,
"c": 0.05998,
"h": 289.8
},
"luminance": 0.00618
}Semantic roles & 50–950 ramp
primary
#140D2C
secondary
#5A672E
accent
#DE4ABC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A