#563D8D#563D8D
#563D8D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.9% C 0.128 H 294.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #563D8D |
|---|---|
| RGB | rgb(86, 61, 141) |
| HSL | hsl(259, 40%, 40%) |
| HSV | hsv(259, 57%, 55%) |
| CMYK | cmyk(39%, 56.7%, 0%, 44.7%) |
| CIE-LAB | lab(32.34, 30.10, -40.80) |
| CIE-LCH | lch(32.34, 50.70, 306.41°) |
| OKLab | oklab(42.93% 0.0537 -0.1158) |
| OKLCH | oklch(42.93% 0.128 294.9) |
| XYZ | xyz(10.3130, 7.2388, 26.0480) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.07
Blueberry
#464196
ΔE00 4.50
Rebeccapurple
#663399
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 7.13
Twilight
#4E518B
ΔE00 7.88
Royal Purple
#7851A9
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563D8D #748D3D
analogous
#3D4C8D #563D8D #7E3D8D
triadic
#563D8D #8D563D #3D8D56
tetradic
#563D8D #8D3D4C #748D3D #3D8D7E
square
#563D8D #8D3D4C #748D3D #3D8D7E
split-complementary
#563D8D #8D7E3D #4C8D3D
monochromatic
#221838 #3C2B62 #563D8D #7153B4 #947DC7
Accessibility & contrast
On white
8.58
#563D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#563D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563D8D
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563D8D | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#484E5F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #563d8d; /* rgb */ color: rgb(86, 61, 141); /* oklch */ color: oklch(42.9% 0.128 294.9);
Tailwind
colors: {
custom: {
50: '#8973af',
500: '#563d8d',
950: '#000000',
},
}SCSS
$custom: #563d8d; $custom-light: #8973af; $custom-dark: #000000;
JSON
{
"hex": "#563d8d",
"rgb": {
"r": 86,
"g": 61,
"b": 141
},
"hsl": {
"h": 258.75,
"s": 39.604,
"l": 39.608
},
"oklch": {
"l": 0.42932,
"c": 0.12761,
"h": 294.9
},
"luminance": 0.07239
}Semantic roles & 50–950 ramp
primary
#563D8D
secondary
#9EB175
accent
#CF58AA
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F