#26166F#26166F
#26166F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 281.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #26166F |
|---|---|
| RGB | rgb(38, 22, 111) |
| HSL | hsl(251, 67%, 26%) |
| HSV | hsv(251, 80%, 44%) |
| CMYK | cmyk(65.8%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(16.17, 34.59, -48.37) |
| CIE-LCH | lch(16.17, 59.46, 305.56°) |
| OKLab | oklab(29.27% 0.0277 -0.1396) |
| OKLCH | oklch(29.27% 0.142 281.2) |
| XYZ | xyz(3.9546, 2.1333, 15.2392) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Dark Royal Blue
#02066F
ΔE00 4.15
Darkblue (survey)
#030764
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.61
Dark Indigo
#1F0954
ΔE00 5.00
Indigo (survey)
#380282
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26166F #5F6F16
analogous
#16326F #26166F #52166F
triadic
#26166F #6F2616 #166F26
tetradic
#26166F #6F1632 #5F6F16 #166F52
square
#26166F #6F1632 #5F6F16 #166F52
split-complementary
#26166F #6F5216 #326F16
monochromatic
#09051A #150C3C #26166F #3720A2 #492BD5
Accessibility & contrast
On white
14.72
#26166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#26166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26166F
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26166F | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #26166f; /* rgb */ color: rgb(38, 22, 111); /* oklch */ color: oklch(29.3% 0.142 281.2);
Tailwind
colors: {
custom: {
50: '#6b5699',
500: '#26166f',
950: '#000000',
},
}SCSS
$custom: #26166f; $custom-light: #6b5699; $custom-dark: #000000;
JSON
{
"hex": "#26166f",
"rgb": {
"r": 38,
"g": 22,
"b": 111
},
"hsl": {
"h": 250.787,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.29268,
"c": 0.14229,
"h": 281.2
},
"luminance": 0.02134
}Semantic roles & 50–950 ramp
primary
#26166F
secondary
#92A53C
accent
#EA3ECB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E