#26117E#26117E
#26117E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.165 H 278.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #26117E |
|---|---|
| RGB | rgb(38, 17, 126) |
| HSL | hsl(252, 76%, 28%) |
| HSV | hsv(252, 87%, 49%) |
| CMYK | cmyk(69.8%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(17.08, 41.78, -56.53) |
| CIE-LCH | lch(17.08, 70.29, 306.47°) |
| OKLab | oklab(30.41% 0.0256 -0.1632) |
| OKLCH | oklch(30.41% 0.165 278.9) |
| XYZ | xyz(4.7645, 2.3189, 19.9311) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.16
Navy
#000080
ΔE00 3.55
Midnight Blue
#191970
ΔE00 3.61
Darkblue
#00008B
ΔE00 3.69
Royal
#0C1793
ΔE00 3.71
Deep Blue
#040273
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26117E #697E11
analogous
#11327E #26117E #5D117E
triadic
#26117E #7E2611 #117E26
tetradic
#26117E #7E1132 #697E11 #117E5D
square
#26117E #7E1132 #697E11 #117E5D
split-complementary
#26117E #7E5D11 #327E11
monochromatic
#08041B #160A48 #26117E #3618B4 #4B27E2
Accessibility & contrast
On white
14.35
#26117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#26117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26117E
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26117E | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #26117e; /* rgb */ color: rgb(38, 17, 126); /* oklch */ color: oklch(30.4% 0.165 278.9);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#26117e',
950: '#000000',
},
}SCSS
$custom: #26117e; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#26117e",
"rgb": {
"r": 38,
"g": 17,
"b": 126
},
"hsl": {
"h": 251.56,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.30414,
"c": 0.16521,
"h": 278.9
},
"luminance": 0.02319
}Semantic roles & 50–950 ramp
primary
#26117E
secondary
#9CB437
accent
#F335CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F