#26156E#26156E
#26156E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.142 H 281.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #26156E |
|---|---|
| RGB | rgb(38, 21, 110) |
| HSL | hsl(251, 68%, 26%) |
| HSV | hsv(251, 81%, 43%) |
| CMYK | cmyk(65.5%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(15.87, 34.80, -48.22) |
| CIE-LCH | lch(15.87, 59.47, 305.82°) |
| OKLab | oklab(29.02% 0.0287 -0.1391) |
| OKLCH | oklch(29.02% 0.142 281.7) |
| XYZ | xyz(3.8811, 2.0739, 14.9446) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.21
Dark Royal Blue
#02066F
ΔE00 4.04
Darkblue (survey)
#030764
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.50
Dark Indigo
#1F0954
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26156E #5D6E15
analogous
#15306E #26156E #52156E
triadic
#26156E #6E2615 #156E26
tetradic
#26156E #6E1530 #5D6E15 #156E52
square
#26156E #6E1530 #5D6E15 #156E52
split-complementary
#26156E #6E5215 #306E15
monochromatic
#09051A #140B3B #26156E #381FA1 #4A29D5
Accessibility & contrast
On white
14.84
#26156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#26156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26156E
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26156E | 1.00 | 14.84 | 1.41 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #26156e; /* rgb */ color: rgb(38, 21, 110); /* oklch */ color: oklch(29.0% 0.142 281.7);
Tailwind
colors: {
custom: {
50: '#6b5599',
500: '#26156e',
950: '#000000',
},
}SCSS
$custom: #26156e; $custom-light: #6b5599; $custom-dark: #000000;
JSON
{
"hex": "#26156e",
"rgb": {
"r": 38,
"g": 21,
"b": 110
},
"hsl": {
"h": 251.461,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.29024,
"c": 0.14203,
"h": 281.7
},
"luminance": 0.02074
}Semantic roles & 50–950 ramp
primary
#26156E
secondary
#90A43A
accent
#EB3DCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E