#17112E#17112E
#17112E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.3% C 0.056 H 290.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).
Color values
| HEX | #17112E |
|---|---|
| RGB | rgb(23, 17, 46) |
| HSL | hsl(252, 46%, 12%) |
| HSV | hsv(252, 63%, 18%) |
| CMYK | cmyk(50%, 63%, 0%, 82%) |
| CIE-LAB | lab(7.05, 11.90, -18.44) |
| CIE-LCH | lch(7.05, 21.94, 302.84°) |
| OKLab | oklab(20.33% 0.0192 -0.0525) |
| OKLCH | oklch(20.33% 0.056 290) |
| XYZ | xyz(1.0468, 0.7803, 2.6797) |
| Luminance | 0.0078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 5.41
Dark Navy Blue
#00022E
ΔE00 5.99
Dark Navy
#000435
ΔE00 6.85
Very Dark Blue
#000133
ΔE00 6.86
Navy (survey)
#01153E
ΔE00 7.00
Midnight Blue (survey)
#020035
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17112E #282E11
analogous
#11192E #17112E #26112E
triadic
#17112E #2E1711 #112E17
tetradic
#17112E #2E1119 #282E11 #112E26
square
#17112E #2E1119 #282E11 #112E26
split-complementary
#17112E #2E2611 #192E11
monochromatic
#0B0816 #0B0816 #17112E #2D225B #443287
Accessibility & contrast
On white
18.17
#17112E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#17112E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17112E
18.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17112E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17112E | 1.00 | 18.17 | 1.16 | 18.17 |
| #FFFFFF | 18.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#11171D
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #17112e; /* rgb */ color: rgb(23, 17, 46); /* oklch */ color: oklch(20.3% 0.056 290.0);
Tailwind
colors: {
custom: {
50: '#564f67',
500: '#17112e',
950: '#000000',
},
}SCSS
$custom: #17112e; $custom-light: #564f67; $custom-dark: #000000;
JSON
{
"hex": "#17112e",
"rgb": {
"r": 23,
"g": 17,
"b": 46
},
"hsl": {
"h": 252.414,
"s": 46.032,
"l": 12.353
},
"oklch": {
"l": 0.20327,
"c": 0.05589,
"h": 290
},
"luminance": 0.0078
}Semantic roles & 50–950 ramp
primary
#17112E
secondary
#5C6634
accent
#D652BA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A