#56107E#56107E
#56107E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.168 H 308.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #56107E |
|---|---|
| RGB | rgb(86, 16, 126) |
| HSL | hsl(278, 77%, 28%) |
| HSV | hsv(278, 87%, 49%) |
| CMYK | cmyk(31.7%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(23.19, 48.26, -46.25) |
| CIE-LCH | lch(23.19, 66.84, 316.21°) |
| OKLab | oklab(36% 0.1043 -0.1316) |
| OKLCH | oklch(36% 0.168 308.4) |
| XYZ | xyz(7.7881, 3.8555, 20.0685) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.01
Royal Purple (survey)
#4B006E
ΔE00 3.42
Indigo (survey)
#380282
ΔE00 5.84
Rebeccapurple
#663399
ΔE00 7.77
Darkish Purple
#751973
ΔE00 8.25
Purple (survey)
#7E1E9C
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56107E #387E10
analogous
#1F107E #56107E #7E106F
triadic
#56107E #7E5610 #107E56
tetradic
#56107E #7E1F10 #387E10 #106F7E
square
#56107E #7E1F10 #387E10 #106F7E
split-complementary
#56107E #6F7E10 #107E1F
monochromatic
#13031B #310948 #56107E #7B17B4 #9E25E3
Accessibility & contrast
On white
11.86
#56107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#56107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56107E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56107E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#4F2F49
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #56107e; /* rgb */ color: rgb(86, 16, 126); /* oklch */ color: oklch(36.0% 0.168 308.4);
Tailwind
colors: {
custom: {
50: '#8b5aa4',
500: '#56107e',
950: '#000000',
},
}SCSS
$custom: #56107e; $custom-light: #8b5aa4; $custom-dark: #000000;
JSON
{
"hex": "#56107e",
"rgb": {
"r": 86,
"g": 16,
"b": 126
},
"hsl": {
"h": 278.182,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.36001,
"c": 0.16791,
"h": 308.4
},
"luminance": 0.03855
}Semantic roles & 50–950 ramp
primary
#56107E
secondary
#64B436
accent
#F4347A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F