#26126F#26126F
#26126F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.146 H 282.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #26126F |
|---|---|
| RGB | rgb(38, 18, 111) |
| HSL | hsl(253, 72%, 25%) |
| HSV | hsv(253, 84%, 44%) |
| CMYK | cmyk(65.8%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(15.45, 36.68, -49.57) |
| CIE-LCH | lch(15.45, 61.66, 306.50°) |
| OKLab | oklab(28.76% 0.0303 -0.143) |
| OKLCH | oklch(28.76% 0.146 282) |
| XYZ | xyz(3.8840, 1.9921, 15.2157) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Dark Royal Blue
#02066F
ΔE00 3.61
Darkblue (survey)
#030764
ΔE00 3.92
Deep Blue
#040273
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.45
Dark Indigo
#1F0954
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26126F #5B6F12
analogous
#122D6F #26126F #54126F
triadic
#26126F #6F2612 #126F26
tetradic
#26126F #6F122D #5B6F12 #126F54
square
#26126F #6F122D #5B6F12 #126F54
split-complementary
#26126F #6F5412 #2D6F12
monochromatic
#09041A #14093A #26126F #381BA4 #4A23D8
Accessibility & contrast
On white
15.02
#26126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#26126F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26126F
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26126F | 1.00 | 15.02 | 1.40 | 15.02 |
| #FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #26126f; /* rgb */ color: rgb(38, 18, 111); /* oklch */ color: oklch(28.8% 0.146 282.0);
Tailwind
colors: {
custom: {
50: '#6c5499',
500: '#26126f',
950: '#000000',
},
}SCSS
$custom: #26126f; $custom-light: #6c5499; $custom-dark: #000000;
JSON
{
"hex": "#26126f",
"rgb": {
"r": 38,
"g": 18,
"b": 111
},
"hsl": {
"h": 252.903,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.28762,
"c": 0.14618,
"h": 282
},
"luminance": 0.01992
}Semantic roles & 50–950 ramp
primary
#26126F
secondary
#8EA637
accent
#EF39C8
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E