#564591#564591
#564591 is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.7% C 0.121 H 291.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #564591 |
|---|---|
| RGB | rgb(86, 69, 145) |
| HSL | hsl(253, 36%, 42%) |
| HSV | hsv(253, 52%, 57%) |
| CMYK | cmyk(40.7%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(34.56, 26.30, -39.71) |
| CIE-LCH | lch(34.56, 47.63, 303.52°) |
| OKLab | oklab(44.66% 0.0432 -0.1125) |
| OKLCH | oklch(44.66% 0.121 291) |
| XYZ | xyz(11.0753, 8.2787, 27.7970) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.28
Blueberry
#464196
ΔE00 3.74
Twilight
#4E518B
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.63
Dusk
#4E5481
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564591 #809145
analogous
#455A91 #564591 #7C4591
triadic
#564591 #915645 #459156
tetradic
#564591 #91455A #809145 #45917C
square
#564591 #91455A #809145 #45917C
split-complementary
#564591 #917C45 #5A9145
monochromatic
#251E3E #3D3168 #564591 #7360B3 #9789C7
Accessibility & contrast
On white
7.91
#564591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#564591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #564591
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564591 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#465564
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #564591; /* rgb */ color: rgb(86, 69, 145); /* oklch */ color: oklch(44.7% 0.121 291.0);
Tailwind
colors: {
custom: {
50: '#8979b2',
500: '#564591',
950: '#000000',
},
}SCSS
$custom: #564591; $custom-light: #8979b2; $custom-dark: #000000;
JSON
{
"hex": "#564591",
"rgb": {
"r": 86,
"g": 69,
"b": 145
},
"hsl": {
"h": 253.421,
"s": 35.514,
"l": 41.961
},
"oklch": {
"l": 0.44657,
"c": 0.12057,
"h": 291
},
"luminance": 0.08279
}Semantic roles & 50–950 ramp
primary
#564591
secondary
#A7B280
accent
#CC5CB3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80