#563F7D#563F7D
#563F7D is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.2% C 0.102 H 299.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #563F7D |
|---|---|
| RGB | rgb(86, 63, 125) |
| HSL | hsl(262, 33%, 37%) |
| HSV | hsv(262, 50%, 49%) |
| CMYK | cmyk(31.2%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(31.84, 24.33, -31.70) |
| CIE-LCH | lch(31.84, 39.96, 307.51°) |
| OKLab | oklab(42.24% 0.0496 -0.0891) |
| OKLCH | oklch(42.24% 0.102 299.1) |
| XYZ | xyz(9.3161, 7.0140, 20.2611) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 7.02
Rebeccapurple
#663399
ΔE00 7.30
Twilight
#4E518B
ΔE00 7.72
Dusk
#4E5481
ΔE00 8.97
Royal Purple
#7851A9
ΔE00 9.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563F7D #667D3F
analogous
#3F477D #563F7D #753F7D
triadic
#563F7D #7D563F #3F7D56
tetradic
#563F7D #7D3F47 #667D3F #3F7D75
square
#563F7D #7D3F47 #667D3F #3F7D75
split-complementary
#563F7D #7D753F #477D3F
monochromatic
#1E162C #3A2A54 #563F7D #7254A6 #937ABC
Accessibility & contrast
On white
8.74
#563F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#563F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563F7D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563F7D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#4E4A58
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #563f7d; /* rgb */ color: rgb(86, 63, 125); /* oklch */ color: oklch(42.2% 0.102 299.1);
Tailwind
colors: {
custom: {
50: '#8874a3',
500: '#563f7d',
950: '#000000',
},
}SCSS
$custom: #563f7d; $custom-light: #8874a3; $custom-dark: #000000;
JSON
{
"hex": "#563f7d",
"rgb": {
"r": 86,
"g": 63,
"b": 125
},
"hsl": {
"h": 262.258,
"s": 32.979,
"l": 36.863
},
"oklch": {
"l": 0.42235,
"c": 0.10199,
"h": 299.1
},
"luminance": 0.07014
}Semantic roles & 50–950 ramp
primary
#563F7D
secondary
#93A671
accent
#C95FA2
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B080F
muted
#7C7B7F