#17052E#17052E
#17052E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.078 H 298.7°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).
Color values
| HEX | #17052E |
|---|---|
| RGB | rgb(23, 5, 46) |
| HSL | hsl(266, 80%, 10%) |
| HSV | hsv(266, 89%, 18%) |
| CMYK | cmyk(50%, 89.1%, 0%, 82%) |
| CIE-LAB | lab(4.41, 17.84, -22.64) |
| CIE-LCH | lch(4.41, 28.82, 308.25°) |
| OKLab | oklab(17.91% 0.0374 -0.0683) |
| OKLCH | oklch(17.91% 0.078 298.7) |
| XYZ | xyz(0.9006, 0.4879, 2.6310) |
| Luminance | 0.0049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 5.41
Midnight Blue (survey)
#020035
ΔE00 5.78
Midnight Purple
#280137
ΔE00 5.99
Very Dark Blue
#000133
ΔE00 6.09
Dark Navy Blue
#00022E
ΔE00 6.21
Dark Navy
#000435
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17052E #1C2E05
analogous
#05082E #17052E #2B052E
triadic
#17052E #2E1705 #052E17
tetradic
#17052E #2E0508 #1C2E05 #052E2B
square
#17052E #2E0508 #1C2E05 #052E2B
split-complementary
#17052E #2E2B05 #082E05
monochromatic
#0E031C #0E031C #17052E #330B65 #4E119C
Accessibility & contrast
On white
19.13
#17052E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#17052E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17052E
19.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17052E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17052E | 1.00 | 19.13 | 1.10 | 19.13 |
| #FFFFFF | 19.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#110F18
Achromatopsia (no color)
#0F0F0F
Design tokens & code
CSS
--color: #17052e; /* rgb */ color: rgb(23, 5, 46); /* oklch */ color: oklch(17.9% 0.078 298.7);
Tailwind
colors: {
custom: {
50: '#554867',
500: '#17052e',
950: '#000000',
},
}SCSS
$custom: #17052e; $custom-light: #554867; $custom-dark: #000000;
JSON
{
"hex": "#17052e",
"rgb": {
"r": 23,
"g": 5,
"b": 46
},
"hsl": {
"h": 266.341,
"s": 80.392,
"l": 10
},
"oklch": {
"l": 0.17908,
"c": 0.07791,
"h": 298.7
},
"luminance": 0.00488
}Semantic roles & 50–950 ramp
primary
#17052E
secondary
#4C701F
accent
#F731A0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A