#140F2C#140F2C
#140F2C is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.4% C 0.056 H 287.9°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #140F2C |
|---|---|
| RGB | rgb(20, 15, 44) |
| HSL | hsl(250, 49%, 12%) |
| HSV | hsv(250, 66%, 17%) |
| CMYK | cmyk(54.5%, 65.9%, 0%, 82.7%) |
| CIE-LAB | lab(6.07, 11.18, -18.52) |
| CIE-LCH | lch(6.07, 21.63, 301.13°) |
| OKLab | oklab(19.36% 0.0173 -0.0536) |
| OKLCH | oklch(19.36% 0.056 287.9) |
| XYZ | xyz(0.9138, 0.6722, 2.4640) |
| Luminance | 0.0067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 4.84
Dark Navy Blue
#00022E
ΔE00 5.40
Very Dark Blue
#000133
ΔE00 6.42
Dark Navy
#000435
ΔE00 6.45
Navy (survey)
#01153E
ΔE00 6.68
Midnight Blue (survey)
#020035
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140F2C #272C0F
analogous
#0F192C #140F2C #230F2C
triadic
#140F2C #2C140F #0F2C14
tetradic
#140F2C #2C0F19 #272C0F #0F2C23
square
#140F2C #2C0F19 #272C0F #0F2C23
split-complementary
#140F2C #2C230F #192C0F
monochromatic
#0A0817 #0A0817 #140F2C #291F5A #3D2E87
Accessibility & contrast
On white
18.51
#140F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#140F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140F2C
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140F2C | 1.00 | 18.51 | 1.13 | 18.51 |
| #FFFFFF | 18.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#03132B
Tritanopia (blue-blind)
#0D151B
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #140f2c; /* rgb */ color: rgb(20, 15, 44); /* oklch */ color: oklch(19.4% 0.056 287.9);
Tailwind
colors: {
custom: {
50: '#534d65',
500: '#140f2c',
950: '#000000',
},
}SCSS
$custom: #140f2c; $custom-light: #534d65; $custom-dark: #000000;
JSON
{
"hex": "#140f2c",
"rgb": {
"r": 20,
"g": 15,
"b": 44
},
"hsl": {
"h": 250.345,
"s": 49.153,
"l": 11.569
},
"oklch": {
"l": 0.19362,
"c": 0.05629,
"h": 287.9
},
"luminance": 0.00672
}Semantic roles & 50–950 ramp
primary
#140F2C
secondary
#5C6531
accent
#D94FC1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A