#56188E#56188E
#56188E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.177 H 301.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #56188E |
|---|---|
| RGB | rgb(86, 24, 142) |
| HSL | hsl(272, 71%, 33%) |
| HSV | hsv(272, 83%, 56%) |
| CMYK | cmyk(39.4%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.52, 49.33, -52.49) |
| CIE-LCH | lch(25.52, 72.03, 313.22°) |
| OKLab | oklab(38.06% 0.0935 -0.15) |
| OKLCH | oklch(38.06% 0.177 301.9) |
| XYZ | xyz(9.0457, 4.5847, 25.9943) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.69
Indigo (survey)
#380282
ΔE00 5.79
Royal Purple (survey)
#4B006E
ΔE00 5.97
Rebeccapurple
#663399
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 6.76
Purple (survey)
#7E1E9C
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56188E #508E18
analogous
#1B188E #56188E #8E188B
triadic
#56188E #8E5618 #188E56
tetradic
#56188E #8E1B18 #508E18 #188B8E
square
#56188E #8E1B18 #508E18 #188B8E
split-complementary
#56188E #8B8E18 #188E1B
monochromatic
#170625 #360F5A #56188E #7621C2 #9441DF
Accessibility & contrast
On white
10.95
#56188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#56188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56188E
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56188E | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#4A3954
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #56188e; /* rgb */ color: rgb(86, 24, 142); /* oklch */ color: oklch(38.1% 0.177 301.9);
Tailwind
colors: {
custom: {
50: '#8c5eb0',
500: '#56188e',
950: '#000000',
},
}SCSS
$custom: #56188e; $custom-light: #8c5eb0; $custom-dark: #000000;
JSON
{
"hex": "#56188e",
"rgb": {
"r": 86,
"g": 24,
"b": 142
},
"hsl": {
"h": 271.525,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.38056,
"c": 0.17672,
"h": 301.9
},
"luminance": 0.04585
}Semantic roles & 50–950 ramp
primary
#56188E
secondary
#7EC042
accent
#EE3A8F
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0511
muted
#7E7980