#563C82#563C82
#563C82 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 42.0% C 0.114 H 298.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #563C82 |
|---|---|
| RGB | rgb(86, 60, 130) |
| HSL | hsl(262, 37%, 37%) |
| HSV | hsv(262, 54%, 51%) |
| CMYK | cmyk(33.8%, 53.8%, 0%, 49%) |
| CIE-LAB | lab(31.40, 27.59, -35.52) |
| CIE-LCH | lch(31.40, 44.98, 307.84°) |
| OKLab | oklab(42% 0.0545 -0.1003) |
| OKLCH | oklch(42% 0.114 298.5) |
| XYZ | xyz(9.4819, 6.8218, 21.9319) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.22
Rebeccapurple
#663399
ΔE00 5.82
Blueberry
#464196
ΔE00 6.16
Twilight
#4E518B
ΔE00 8.28
Ocean Blue
#4F42B5
ΔE00 9.34
Royal Purple
#7851A9
ΔE00 9.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563C82 #68823C
analogous
#3C4582 #563C82 #793C82
triadic
#563C82 #82563C #3C8256
tetradic
#563C82 #823C45 #68823C #3C8279
square
#563C82 #823C45 #68823C #3C8279
split-complementary
#563C82 #82793C #45823C
monochromatic
#1F152E #3A2958 #563C82 #724FAC #9378C1
Accessibility & contrast
On white
8.88
#563C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#563C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563C82
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563C82 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#4D4A59
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #563c82; /* rgb */ color: rgb(86, 60, 130); /* oklch */ color: oklch(42.0% 0.114 298.5);
Tailwind
colors: {
custom: {
50: '#8872a7',
500: '#563c82',
950: '#000000',
},
}SCSS
$custom: #563c82; $custom-light: #8872a7; $custom-dark: #000000;
JSON
{
"hex": "#563c82",
"rgb": {
"r": 86,
"g": 60,
"b": 130
},
"hsl": {
"h": 262.286,
"s": 36.842,
"l": 37.255
},
"oklch": {
"l": 0.42003,
"c": 0.11411,
"h": 298.5
},
"luminance": 0.06822
}Semantic roles & 50–950 ramp
primary
#563C82
secondary
#94AA6F
accent
#CD5BA3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C080F
muted
#7D7B7F