#26126E#26126E
#26126E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.145 H 282.2°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #26126E |
|---|---|
| RGB | rgb(38, 18, 110) |
| HSL | hsl(253, 72%, 25%) |
| HSV | hsv(253, 84%, 43%) |
| CMYK | cmyk(65.5%, 83.6%, 0%, 56.9%) |
| CIE-LAB | lab(15.33, 36.36, -49.11) |
| CIE-LCH | lch(15.33, 61.11, 306.52°) |
| OKLab | oklab(28.65% 0.0306 -0.1417) |
| OKLCH | oklch(28.65% 0.145 282.2) |
| XYZ | xyz(3.8292, 1.9702, 14.9273) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Dark Royal Blue
#02066F
ΔE00 3.65
Darkblue (survey)
#030764
ΔE00 3.88
Deep Blue
#040273
ΔE00 4.02
Indigo (survey)
#380282
ΔE00 4.56
Dark Indigo
#1F0954
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26126E #5A6E12
analogous
#122C6E #26126E #54126E
triadic
#26126E #6E2612 #126E26
tetradic
#26126E #6E122C #5A6E12 #126E54
square
#26126E #6E122C #5A6E12 #126E54
split-complementary
#26126E #6E5412 #2C6E12
monochromatic
#09041A #140939 #26126E #381BA3 #4A23D7
Accessibility & contrast
On white
15.06
#26126E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#26126E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26126E
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26126E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26126E | 1.00 | 15.06 | 1.39 | 15.06 |
| #FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #26126e; /* rgb */ color: rgb(38, 18, 110); /* oklch */ color: oklch(28.6% 0.145 282.2);
Tailwind
colors: {
custom: {
50: '#6b5399',
500: '#26126e',
950: '#000000',
},
}SCSS
$custom: #26126e; $custom-light: #6b5399; $custom-dark: #000000;
JSON
{
"hex": "#26126e",
"rgb": {
"r": 38,
"g": 18,
"b": 110
},
"hsl": {
"h": 253.043,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.28647,
"c": 0.14493,
"h": 282.2
},
"luminance": 0.0197
}Semantic roles & 50–950 ramp
primary
#26126E
secondary
#8DA537
accent
#EF39C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E