#26147E#26147E
#26147E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 278.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #26147E |
|---|---|
| RGB | rgb(38, 20, 126) |
| HSL | hsl(250, 73%, 29%) |
| HSV | hsv(250, 84%, 49%) |
| CMYK | cmyk(69.8%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(17.55, 40.41, -55.75) |
| CIE-LCH | lch(17.55, 68.86, 305.93°) |
| OKLab | oklab(30.74% 0.0243 -0.161) |
| OKLCH | oklch(30.74% 0.163 278.6) |
| XYZ | xyz(4.8142, 2.4183, 19.9477) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.25
Indigo (survey)
#380282
ΔE00 3.56
Royal
#0C1793
ΔE00 3.57
Navy
#000080
ΔE00 3.96
Darkblue
#00008B
ΔE00 4.06
Dark Royal Blue
#02066F
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26147E #6C7E14
analogous
#14377E #26147E #5B147E
triadic
#26147E #7E2614 #147E26
tetradic
#26147E #7E1437 #6C7E14 #147E5B
square
#26147E #7E1437 #6C7E14 #147E5B
split-complementary
#26147E #7E5B14 #377E14
monochromatic
#08041A #160C49 #26147E #361CB3 #4C2EDE
Accessibility & contrast
On white
14.15
#26147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#26147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26147E
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26147E | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26147e; /* rgb */ color: rgb(38, 20, 126); /* oklch */ color: oklch(30.7% 0.163 278.6);
Tailwind
colors: {
custom: {
50: '#6f56a5',
500: '#26147e',
950: '#000000',
},
}SCSS
$custom: #26147e; $custom-light: #6f56a5; $custom-dark: #000000;
JSON
{
"hex": "#26147e",
"rgb": {
"r": 38,
"g": 20,
"b": 126
},
"hsl": {
"h": 250.189,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30735,
"c": 0.16285,
"h": 278.6
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#26147E
secondary
#9FB33A
accent
#EF38D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F