#26166E#26166E
#26166E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.141 H 281.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #26166E |
|---|---|
| RGB | rgb(38, 22, 110) |
| HSL | hsl(251, 67%, 26%) |
| HSV | hsv(251, 80%, 43%) |
| CMYK | cmyk(65.5%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(16.06, 34.26, -47.90) |
| CIE-LCH | lch(16.06, 58.89, 305.57°) |
| OKLab | oklab(29.16% 0.028 -0.1382) |
| OKLCH | oklch(29.16% 0.141 281.5) |
| XYZ | xyz(3.8998, 2.1114, 14.9509) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.07
Dark Royal Blue
#02066F
ΔE00 4.19
Darkblue (survey)
#030764
ΔE00 4.31
Deep Blue
#040273
ΔE00 4.68
Dark Indigo
#1F0954
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26166E #5E6E16
analogous
#16326E #26166E #52166E
triadic
#26166E #6E2616 #166E26
tetradic
#26166E #6E1632 #5E6E16 #166E52
square
#26166E #6E1632 #5E6E16 #166E52
split-complementary
#26166E #6E5216 #326E16
monochromatic
#09051A #140C3B #26166E #3820A1 #492AD4
Accessibility & contrast
On white
14.76
#26166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#26166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26166E
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26166E | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #26166e; /* rgb */ color: rgb(38, 22, 110); /* oklch */ color: oklch(29.2% 0.141 281.5);
Tailwind
colors: {
custom: {
50: '#6b5699',
500: '#26166e',
950: '#000000',
},
}SCSS
$custom: #26166e; $custom-light: #6b5699; $custom-dark: #000000;
JSON
{
"hex": "#26166e",
"rgb": {
"r": 38,
"g": 22,
"b": 110
},
"hsl": {
"h": 250.909,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.29157,
"c": 0.141,
"h": 281.5
},
"luminance": 0.02112
}Semantic roles & 50–950 ramp
primary
#26166E
secondary
#91A43C
accent
#EA3ECA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E