#563A8A#563A8A
#563A8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.128 H 296.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #563A8A |
|---|---|
| RGB | rgb(86, 58, 138) |
| HSL | hsl(261, 41%, 38%) |
| HSV | hsv(261, 58%, 54%) |
| CMYK | cmyk(37.7%, 58%, 0%, 45.9%) |
| CIE-LAB | lab(31.44, 31.07, -40.41) |
| CIE-LCH | lch(31.44, 50.97, 307.56°) |
| OKLab | oklab(42.2% 0.0576 -0.1146) |
| OKLCH | oklch(42.2% 0.128 296.7) |
| XYZ | xyz(9.9371, 6.8394, 24.8364) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.54
Rebeccapurple
#663399
ΔE00 4.43
Blueberry
#464196
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 7.80
Twilight
#4E518B
ΔE00 8.73
Royal Purple
#7851A9
ΔE00 9.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563A8A #6E8A3A
analogous
#3A468A #563A8A #7E3A8A
triadic
#563A8A #8A563A #3A8A56
tetradic
#563A8A #8A3A46 #6E8A3A #3A8A7E
square
#563A8A #8A3A46 #6E8A3A #3A8A7E
split-complementary
#563A8A #8A7E3A #468A3A
monochromatic
#201634 #3B285F #563A8A #714DB4 #9378C6
Accessibility & contrast
On white
8.87
#563A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#563A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563A8A
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563A8A | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#4A4B5C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #563a8a; /* rgb */ color: rgb(86, 58, 138); /* oklch */ color: oklch(42.2% 0.128 296.7);
Tailwind
colors: {
custom: {
50: '#8971ad',
500: '#563a8a',
950: '#000000',
},
}SCSS
$custom: #563a8a; $custom-light: #8971ad; $custom-dark: #000000;
JSON
{
"hex": "#563a8a",
"rgb": {
"r": 86,
"g": 58,
"b": 138
},
"hsl": {
"h": 261,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.422,
"c": 0.12827,
"h": 296.7
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#563A8A
secondary
#99B070
accent
#D157A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F