#160F2D#160F2D
#160F2D is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.7% C 0.058 H 290.9°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #160F2D |
|---|---|
| RGB | rgb(22, 15, 45) |
| HSL | hsl(254, 50%, 12%) |
| HSV | hsv(254, 67%, 18%) |
| CMYK | cmyk(51.1%, 66.7%, 0%, 82.4%) |
| CIE-LAB | lab(6.34, 12.36, -18.83) |
| CIE-LCH | lch(6.34, 22.52, 303.29°) |
| OKLab | oklab(19.68% 0.0206 -0.0542) |
| OKLCH | oklch(19.68% 0.058 290.9) |
| XYZ | xyz(0.9752, 0.7017, 2.5662) |
| Luminance | 0.0070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 5.13
Dark Navy Blue
#00022E
ΔE00 5.76
Very Dark Blue
#000133
ΔE00 6.57
Dark Navy
#000435
ΔE00 6.60
Midnight Blue (survey)
#020035
ΔE00 6.82
Navy (survey)
#01153E
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#160F2D #262D0F
analogous
#0F172D #160F2D #250F2D
triadic
#160F2D #2D160F #0F2D16
tetradic
#160F2D #2D0F17 #262D0F #0F2D25
square
#160F2D #2D0F17 #262D0F #0F2D25
split-complementary
#160F2D #2D250F #172D0F
monochromatic
#0B0817 #0B0817 #160F2D #2C1E5B #432E89
Accessibility & contrast
On white
18.41
#160F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#160F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #160F2D
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##160F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##160F2D | 1.00 | 18.41 | 1.14 | 18.41 |
| #FFFFFF | 18.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#04132C
Tritanopia (blue-blind)
#10151C
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #160f2d; /* rgb */ color: rgb(22, 15, 45); /* oklch */ color: oklch(19.7% 0.058 290.9);
Tailwind
colors: {
custom: {
50: '#554d66',
500: '#160f2d',
950: '#000000',
},
}SCSS
$custom: #160f2d; $custom-light: #554d66; $custom-dark: #000000;
JSON
{
"hex": "#160f2d",
"rgb": {
"r": 22,
"g": 15,
"b": 45
},
"hsl": {
"h": 254,
"s": 50,
"l": 11.765
},
"oklch": {
"l": 0.19678,
"c": 0.05796,
"h": 290.9
},
"luminance": 0.00702
}Semantic roles & 50–950 ramp
primary
#160F2D
secondary
#5A6631
accent
#DA4EB9
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A