#563F8D#563F8D
#563F8D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.3% C 0.124 H 294.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #563F8D |
|---|---|
| RGB | rgb(86, 63, 141) |
| HSL | hsl(258, 38%, 40%) |
| HSV | hsv(258, 55%, 55%) |
| CMYK | cmyk(39%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(32.82, 28.87, -40.03) |
| CIE-LCH | lch(32.82, 49.36, 305.79°) |
| OKLab | oklab(43.29% 0.051 -0.1135) |
| OKLCH | oklch(43.29% 0.124 294.2) |
| XYZ | xyz(10.4217, 7.4563, 26.0843) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.96
Blueberry
#464196
ΔE00 4.30
Rebeccapurple
#663399
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 7.11
Twilight
#4E518B
ΔE00 7.28
Royal Purple
#7851A9
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563F8D #768D3F
analogous
#3F4F8D #563F8D #7D3F8D
triadic
#563F8D #8D563F #3F8D56
tetradic
#563F8D #8D3F4F #768D3F #3F8D7D
square
#563F8D #8D3F4F #768D3F #3F8D7D
split-complementary
#563F8D #8D7D3F #4F8D3F
monochromatic
#221938 #3C2C63 #563F8D #7156B3 #9580C6
Accessibility & contrast
On white
8.43
#563F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#563F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563F8D
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563F8D | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#484F60
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #563f8d; /* rgb */ color: rgb(86, 63, 141); /* oklch */ color: oklch(43.3% 0.124 294.2);
Tailwind
colors: {
custom: {
50: '#8975af',
500: '#563f8d',
950: '#000000',
},
}SCSS
$custom: #563f8d; $custom-light: #8975af; $custom-dark: #000000;
JSON
{
"hex": "#563f8d",
"rgb": {
"r": 86,
"g": 63,
"b": 141
},
"hsl": {
"h": 257.692,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.43287,
"c": 0.12445,
"h": 294.2
},
"luminance": 0.07457
}Semantic roles & 50–950 ramp
primary
#563F8D
secondary
#A0B177
accent
#CE5AAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F