#26146F#26146F
#26146F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 281.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #26146F |
|---|---|
| RGB | rgb(38, 20, 111) |
| HSL | hsl(252, 69%, 26%) |
| HSV | hsv(252, 82%, 44%) |
| CMYK | cmyk(65.8%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(15.80, 35.66, -48.99) |
| CIE-LCH | lch(15.80, 60.59, 306.05°) |
| OKLab | oklab(29.01% 0.0291 -0.1413) |
| OKLCH | oklch(29.01% 0.144 281.6) |
| XYZ | xyz(3.9178, 2.0598, 15.2270) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Dark Royal Blue
#02066F
ΔE00 3.85
Darkblue (survey)
#030764
ΔE00 4.10
Deep Blue
#040273
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 4.72
Dark Indigo
#1F0954
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26146F #5D6F14
analogous
#142F6F #26146F #53146F
triadic
#26146F #6F2614 #146F26
tetradic
#26146F #6F142F #5D6F14 #146F53
square
#26146F #6F142F #5D6F14 #146F53
split-complementary
#26146F #6F5314 #2F6F14
monochromatic
#09051A #140B3B #26146F #381DA3 #4A27D7
Accessibility & contrast
On white
14.87
#26146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#26146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26146F
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26146F | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #26146f; /* rgb */ color: rgb(38, 20, 111); /* oklch */ color: oklch(29.0% 0.144 281.6);
Tailwind
colors: {
custom: {
50: '#6b5599',
500: '#26146f',
950: '#000000',
},
}SCSS
$custom: #26146f; $custom-light: #6b5599; $custom-dark: #000000;
JSON
{
"hex": "#26146f",
"rgb": {
"r": 38,
"g": 20,
"b": 111
},
"hsl": {
"h": 251.868,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.29007,
"c": 0.14429,
"h": 281.6
},
"luminance": 0.0206
}Semantic roles & 50–950 ramp
primary
#26146F
secondary
#90A639
accent
#EC3CC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E