#563C87#563C87
#563C87 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.3% C 0.121 H 296.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #563C87 |
|---|---|
| RGB | rgb(86, 60, 135) |
| HSL | hsl(261, 38%, 38%) |
| HSV | hsv(261, 56%, 53%) |
| CMYK | cmyk(36.3%, 55.6%, 0%, 47.1%) |
| CIE-LAB | lab(31.71, 29.00, -38.11) |
| CIE-LCH | lch(31.71, 47.89, 307.27°) |
| OKLab | oklab(42.34% 0.0548 -0.1079) |
| OKLCH | oklch(42.34% 0.121 296.9) |
| XYZ | xyz(9.8257, 6.9593, 23.7426) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.57
Rebeccapurple
#663399
ΔE00 5.15
Blueberry
#464196
ΔE00 5.37
Twilight
#4E518B
ΔE00 8.16
Ocean Blue
#4F42B5
ΔE00 8.32
Royal Purple
#7851A9
ΔE00 9.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563C87 #6D873C
analogous
#3C4787 #563C87 #7B3C87
triadic
#563C87 #87563C #3C8756
tetradic
#563C87 #873C47 #6D873C #3C877B
square
#563C87 #873C47 #6D873C #3C877B
split-complementary
#563C87 #877B3C #47873C
monochromatic
#201632 #3B295D #563C87 #714FB1 #937AC4
Accessibility & contrast
On white
8.78
#563C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#563C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563C87
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563C87 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#4B4B5B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #563c87; /* rgb */ color: rgb(86, 60, 135); /* oklch */ color: oklch(42.3% 0.121 296.9);
Tailwind
colors: {
custom: {
50: '#8972aa',
500: '#563c87',
950: '#000000',
},
}SCSS
$custom: #563c87; $custom-light: #8972aa; $custom-dark: #000000;
JSON
{
"hex": "#563c87",
"rgb": {
"r": 86,
"g": 60,
"b": 135
},
"hsl": {
"h": 260.8,
"s": 38.462,
"l": 38.235
},
"oklch": {
"l": 0.4234,
"c": 0.12099,
"h": 296.9
},
"luminance": 0.06959
}Semantic roles & 50–950 ramp
primary
#563C87
secondary
#99AD71
accent
#CE59A6
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F