#26146E#26146E
#26146E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.143 H 281.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #26146E |
|---|---|
| RGB | rgb(38, 20, 110) |
| HSL | hsl(252, 69%, 25%) |
| HSV | hsv(252, 82%, 43%) |
| CMYK | cmyk(65.5%, 81.8%, 0%, 56.9%) |
| CIE-LAB | lab(15.68, 35.34, -48.52) |
| CIE-LCH | lch(15.68, 60.03, 306.06°) |
| OKLab | oklab(28.89% 0.0294 -0.14) |
| OKLCH | oklch(28.89% 0.143 281.8) |
| XYZ | xyz(3.8631, 2.0379, 14.9386) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.36
Dark Royal Blue
#02066F
ΔE00 3.89
Darkblue (survey)
#030764
ΔE00 4.07
Deep Blue
#040273
ΔE00 4.33
Dark Indigo
#1F0954
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26146E #5C6E14
analogous
#142F6E #26146E #53146E
triadic
#26146E #6E2614 #146E26
tetradic
#26146E #6E142F #5C6E14 #146E53
square
#26146E #6E142F #5C6E14 #146E53
split-complementary
#26146E #6E5314 #2F6E14
monochromatic
#09051A #140B3A #26146E #381DA2 #4A27D6
Accessibility & contrast
On white
14.92
#26146E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#26146E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26146E
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26146E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26146E | 1.00 | 14.92 | 1.41 | 14.92 |
| #FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.92 | 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: #26146e; /* rgb */ color: rgb(38, 20, 110); /* oklch */ color: oklch(28.9% 0.143 281.8);
Tailwind
colors: {
custom: {
50: '#6b5599',
500: '#26146e',
950: '#000000',
},
}SCSS
$custom: #26146e; $custom-light: #6b5599; $custom-dark: #000000;
JSON
{
"hex": "#26146e",
"rgb": {
"r": 38,
"g": 20,
"b": 110
},
"hsl": {
"h": 252,
"s": 69.231,
"l": 25.49
},
"oklch": {
"l": 0.28894,
"c": 0.14303,
"h": 281.8
},
"luminance": 0.02038
}Semantic roles & 50–950 ramp
primary
#26146E
secondary
#8FA539
accent
#EC3CC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E