#564693#564693
#564693 is a dark, vivid violet. Relative luminance 0.085; OKLCH L 45.0% C 0.122 H 290.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #564693 |
|---|---|
| RGB | rgb(86, 70, 147) |
| HSL | hsl(252, 35%, 43%) |
| HSV | hsv(252, 52%, 58%) |
| CMYK | cmyk(41.5%, 52.4%, 0%, 42.4%) |
| CIE-LAB | lab(34.93, 26.27, -40.32) |
| CIE-LCH | lch(34.93, 48.12, 303.08°) |
| OKLab | oklab(44.98% 0.042 -0.1144) |
| OKLCH | oklch(44.98% 0.122 290.2) |
| XYZ | xyz(11.2929, 8.4650, 28.6370) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.45
Blueberry
#464196
ΔE00 3.60
Twilight
#4E518B
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 6.25
Rebeccapurple
#663399
ΔE00 6.83
Dusk
#4E5481
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564693 #839346
analogous
#465C93 #564693 #7D4693
triadic
#564693 #935646 #469356
tetradic
#564693 #93465C #839346 #46937D
square
#564693 #93465C #839346 #46937D
split-complementary
#564693 #937D46 #5C9346
monochromatic
#251F40 #3E326A #564693 #7362B4 #988BC8
Accessibility & contrast
On white
7.80
#564693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#564693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #564693
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564693 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255496
Deuteranopia (green-blind)
#275091
Tritanopia (blue-blind)
#455665
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #564693; /* rgb */ color: rgb(86, 70, 147); /* oklch */ color: oklch(45.0% 0.122 290.2);
Tailwind
colors: {
custom: {
50: '#897ab3',
500: '#564693',
950: '#000000',
},
}SCSS
$custom: #564693; $custom-light: #897ab3; $custom-dark: #000000;
JSON
{
"hex": "#564693",
"rgb": {
"r": 86,
"g": 70,
"b": 147
},
"hsl": {
"h": 252.468,
"s": 35.484,
"l": 42.549
},
"oklch": {
"l": 0.44979,
"c": 0.12185,
"h": 290.2
},
"luminance": 0.08465
}Semantic roles & 50–950 ramp
primary
#564693
secondary
#A9B381
accent
#CC5CB4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80