#26174F#26174F
#26174F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.098 H 290.3°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #26174F |
|---|---|
| RGB | rgb(38, 23, 79) |
| HSL | hsl(256, 55%, 20%) |
| HSV | hsv(256, 71%, 31%) |
| CMYK | cmyk(51.9%, 70.9%, 0%, 69%) |
| CIE-LAB | lab(13.16, 23.32, -31.95) |
| CIE-LCH | lch(13.16, 39.56, 306.12°) |
| OKLab | oklab(26.14% 0.0339 -0.0915) |
| OKLCH | oklch(26.14% 0.098 290.3) |
| XYZ | xyz(2.5166, 1.5893, 7.5698) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.35
Navy Blue (survey)
#001146
ΔE00 5.88
Night Blue
#040348
ΔE00 6.19
Midnight Blue
#191970
ΔE00 7.08
Midnight Purple
#280137
ΔE00 7.34
Navy (survey)
#01153E
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26174F #404F17
analogous
#17244F #26174F #42174F
triadic
#26174F #4F2617 #174F26
tetradic
#26174F #4F1724 #404F17 #174F42
square
#26174F #4F1724 #404F17 #174F42
split-complementary
#26174F #4F4217 #244F17
monochromatic
#0B0718 #0F0920 #26174F #3D257E #5433AE
Accessibility & contrast
On white
15.94
#26174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#26174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26174F
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26174F | 1.00 | 15.94 | 1.32 | 15.94 |
| #FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#192430
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #26174f; /* rgb */ color: rgb(38, 23, 79); /* oklch */ color: oklch(26.1% 0.098 290.3);
Tailwind
colors: {
custom: {
50: '#655581',
500: '#26174f',
950: '#000000',
},
}SCSS
$custom: #26174f; $custom-light: #655581; $custom-dark: #000000;
JSON
{
"hex": "#26174f",
"rgb": {
"r": 38,
"g": 23,
"b": 79
},
"hsl": {
"h": 256.071,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.26144,
"c": 0.09755,
"h": 290.3
},
"luminance": 0.01589
}Semantic roles & 50–950 ramp
primary
#26174F
secondary
#72863C
accent
#DE4AB6
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#06030A
muted
#7A787C