#26147C#26147C
#26147C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.160 H 278.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #26147C |
|---|---|
| RGB | rgb(38, 20, 124) |
| HSL | hsl(250, 72%, 28%) |
| HSV | hsv(250, 84%, 49%) |
| CMYK | cmyk(69.4%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(17.31, 39.78, -54.87) |
| CIE-LCH | lch(17.31, 67.78, 305.94°) |
| OKLab | oklab(30.5% 0.0249 -0.1585) |
| OKLCH | oklch(30.5% 0.16 278.9) |
| XYZ | xyz(4.6864, 2.3672, 19.2748) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Indigo (survey)
#380282
ΔE00 3.64
Royal
#0C1793
ΔE00 3.84
Navy
#000080
ΔE00 4.02
Dark Royal Blue
#02066F
ΔE00 4.05
Deep Blue
#040273
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26147C #6A7C14
analogous
#14367C #26147C #5A147C
triadic
#26147C #7C2614 #147C26
tetradic
#26147C #7C1436 #6A7C14 #147C5A
square
#26147C #7C1436 #6A7C14 #147C5A
split-complementary
#26147C #7C5A14 #367C14
monochromatic
#08041A #160B47 #26147C #361DB1 #4C2DDD
Accessibility & contrast
On white
14.25
#26147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#26147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26147C
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26147C | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26147c; /* rgb */ color: rgb(38, 20, 124); /* oklch */ color: oklch(30.5% 0.160 278.9);
Tailwind
colors: {
custom: {
50: '#6e56a3',
500: '#26147c',
950: '#000000',
},
}SCSS
$custom: #26147c; $custom-light: #6e56a3; $custom-dark: #000000;
JSON
{
"hex": "#26147c",
"rgb": {
"r": 38,
"g": 20,
"b": 124
},
"hsl": {
"h": 250.385,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.305,
"c": 0.16041,
"h": 278.9
},
"luminance": 0.02368
}Semantic roles & 50–950 ramp
primary
#26147C
secondary
#9DB23A
accent
#EF39CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F