#26166C#26166C
#26166C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.138 H 281.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #26166C |
|---|---|
| RGB | rgb(38, 22, 108) |
| HSL | hsl(251, 66%, 25%) |
| HSV | hsv(251, 80%, 42%) |
| CMYK | cmyk(64.8%, 79.6%, 0%, 57.6%) |
| CIE-LAB | lab(15.84, 33.60, -46.96) |
| CIE-LCH | lch(15.84, 57.74, 305.59°) |
| OKLab | oklab(28.94% 0.0286 -0.1354) |
| OKLCH | oklch(28.94% 0.138 281.9) |
| XYZ | xyz(3.7922, 2.0683, 14.3838) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.16
Darkblue (survey)
#030764
ΔE00 4.28
Dark Royal Blue
#02066F
ΔE00 4.31
Dark Indigo
#1F0954
ΔE00 4.58
Deep Blue
#040273
ΔE00 4.83
Indigo (survey)
#380282
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26166C #5C6C16
analogous
#16316C #26166C #51166C
triadic
#26166C #6C2616 #166C26
tetradic
#26166C #6C1631 #5C6C16 #166C51
square
#26166C #6C1631 #5C6C16 #166C51
split-complementary
#26166C #6C5116 #316C16
monochromatic
#090519 #140C39 #26166C #38209F #4A2BD2
Accessibility & contrast
On white
14.85
#26166C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#26166C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26166C
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26166C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26166C | 1.00 | 14.85 | 1.41 | 14.85 |
| #FFFFFF | 14.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #26166c; /* rgb */ color: rgb(38, 22, 108); /* oklch */ color: oklch(28.9% 0.138 281.9);
Tailwind
colors: {
custom: {
50: '#6b5697',
500: '#26166c',
950: '#000000',
},
}SCSS
$custom: #26166c; $custom-light: #6b5697; $custom-dark: #000000;
JSON
{
"hex": "#26166c",
"rgb": {
"r": 38,
"g": 22,
"b": 108
},
"hsl": {
"h": 251.163,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.28937,
"c": 0.13842,
"h": 281.9
},
"luminance": 0.02069
}Semantic roles & 50–950 ramp
primary
#26166C
secondary
#8FA23C
accent
#E93FC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E