#561D7E#561D7E
#561D7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.155 H 307.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #561D7E |
|---|---|
| RGB | rgb(86, 29, 126) |
| HSL | hsl(275, 63%, 30%) |
| HSV | hsv(275, 77%, 49%) |
| CMYK | cmyk(31.7%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(24.84, 43.48, -43.57) |
| CIE-LCH | lch(24.84, 61.55, 314.94°) |
| OKLab | oklab(37.16% 0.0934 -0.1238) |
| OKLCH | oklch(37.16% 0.155 307) |
| XYZ | xyz(8.0422, 4.3636, 20.1532) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.48
Royal Purple (survey)
#4B006E
ΔE00 4.75
Rebeccapurple
#663399
ΔE00 6.41
Indigo (survey)
#380282
ΔE00 6.82
Purple (survey)
#7E1E9C
ΔE00 7.94
Darkish Purple
#751973
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#561D7E #457E1D
analogous
#261D7E #561D7E #7E1D75
triadic
#561D7E #7E561D #1D7E56
tetradic
#561D7E #7E261D #457E1D #1D757E
square
#561D7E #7E261D #457E1D #1D757E
split-complementary
#561D7E #757E1D #1D7E26
monochromatic
#12061B #34124C #561D7E #7828B0 #9742D3
Accessibility & contrast
On white
11.21
#561D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#561D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #561D7E
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##561D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##561D7E | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#4F344C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #561d7e; /* rgb */ color: rgb(86, 29, 126); /* oklch */ color: oklch(37.2% 0.155 307.0);
Tailwind
colors: {
custom: {
50: '#8a5fa4',
500: '#561d7e',
950: '#000000',
},
}SCSS
$custom: #561d7e; $custom-light: #8a5fa4; $custom-dark: #000000;
JSON
{
"hex": "#561d7e",
"rgb": {
"r": 86,
"g": 29,
"b": 126
},
"hsl": {
"h": 275.258,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.37156,
"c": 0.15508,
"h": 307
},
"luminance": 0.04364
}Semantic roles & 50–950 ramp
primary
#561D7E
secondary
#72B145
accent
#E64286
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F