#563786#563786
#563786 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.128 H 298.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #563786 |
|---|---|
| RGB | rgb(86, 55, 134) |
| HSL | hsl(264, 42%, 37%) |
| HSV | hsv(264, 59%, 53%) |
| CMYK | cmyk(35.8%, 59%, 0%, 47.5%) |
| CIE-LAB | lab(30.48, 31.76, -39.48) |
| CIE-LCH | lch(30.48, 50.67, 308.82°) |
| OKLab | oklab(41.41% 0.0615 -0.1119) |
| OKLCH | oklch(41.41% 0.128 298.8) |
| XYZ | xyz(9.5060, 6.4319, 23.2903) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 4.41
Blueberry
#464196
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 8.70
Purple (survey)
#7E1E9C
ΔE00 9.18
Twilight
#4E518B
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563786 #678637
analogous
#374086 #563786 #7E3786
triadic
#563786 #865637 #378656
tetradic
#563786 #863740 #678637 #37867E
square
#563786 #863740 #678637 #37867E
split-complementary
#563786 #867E37 #408637
monochromatic
#1E132F #3A255B #563786 #7249B1 #9372C5
Accessibility & contrast
On white
9.18
#563786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#563786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563786
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563786 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#4B4759
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #563786; /* rgb */ color: rgb(86, 55, 134); /* oklch */ color: oklch(41.4% 0.128 298.8);
Tailwind
colors: {
custom: {
50: '#896faa',
500: '#563786',
950: '#000000',
},
}SCSS
$custom: #563786; $custom-light: #896faa; $custom-dark: #000000;
JSON
{
"hex": "#563786",
"rgb": {
"r": 86,
"g": 55,
"b": 134
},
"hsl": {
"h": 263.544,
"s": 41.799,
"l": 37.059
},
"oklch": {
"l": 0.41407,
"c": 0.12768,
"h": 298.8
},
"luminance": 0.06432
}Semantic roles & 50–950 ramp
primary
#563786
secondary
#94AE6B
accent
#D256A1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F