#26175F#26175F
#26175F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.7% C 0.120 H 285.0°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).
Color values
| HEX | #26175F |
|---|---|
| RGB | rgb(38, 23, 95) |
| HSL | hsl(253, 61%, 23%) |
| HSV | hsv(253, 76%, 37%) |
| CMYK | cmyk(60%, 75.8%, 0%, 62.7%) |
| CIE-LAB | lab(14.68, 28.70, -40.28) |
| CIE-LCH | lch(14.68, 49.46, 305.46°) |
| OKLab | oklab(27.71% 0.0311 -0.1159) |
| OKLCH | oklch(27.71% 0.12 285) |
| XYZ | xyz(3.1707, 1.8509, 11.0144) |
| Luminance | 0.0185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.38
Midnight Blue
#191970
ΔE00 3.78
Darkblue (survey)
#030764
ΔE00 5.12
Dark Blue
#00035B
ΔE00 5.68
Dark Royal Blue
#02066F
ΔE00 5.90
Night Blue
#040348
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26175F #505F17
analogous
#172C5F #26175F #4A175F
triadic
#26175F #5F2617 #175F26
tetradic
#26175F #5F172C #505F17 #175F4A
square
#26175F #5F172C #505F17 #175F4A
split-complementary
#26175F #5F4A17 #2C5F17
monochromatic
#0A0619 #120B2E #26175F #3A2390 #4D2FC2
Accessibility & contrast
On white
15.33
#26175F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#26175F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26175F
15.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26175F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26175F | 1.00 | 15.33 | 1.37 | 15.33 |
| #FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#0B2A39
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #26175f; /* rgb */ color: rgb(38, 23, 95); /* oklch */ color: oklch(27.7% 0.120 285.0);
Tailwind
colors: {
custom: {
50: '#68558d',
500: '#26175f',
950: '#000000',
},
}SCSS
$custom: #26175f; $custom-light: #68558d; $custom-dark: #000000;
JSON
{
"hex": "#26175f",
"rgb": {
"r": 38,
"g": 23,
"b": 95
},
"hsl": {
"h": 252.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.27705,
"c": 0.12001,
"h": 285
},
"luminance": 0.01851
}Semantic roles & 50–950 ramp
primary
#26175F
secondary
#83963C
accent
#E444C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D