#562C7A#562C7A
#562C7A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.130 H 306.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #562C7A |
|---|---|
| RGB | rgb(86, 44, 122) |
| HSL | hsl(272, 47%, 33%) |
| HSV | hsv(272, 64%, 48%) |
| CMYK | cmyk(29.5%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(27.26, 34.94, -37.13) |
| CIE-LCH | lch(27.26, 50.99, 313.26°) |
| OKLab | oklab(38.79% 0.0764 -0.105) |
| OKLCH | oklch(38.79% 0.13 306) |
| XYZ | xyz(8.2505, 5.1850, 18.9747) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 7.30
Royal Purple (survey)
#4B006E
ΔE00 7.57
Indigo
#4B0082
ΔE00 7.80
Darkish Purple
#751973
ΔE00 8.15
Purple (survey)
#7E1E9C
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C7A #507A2C
analogous
#2F2C7A #562C7A #7A2C77
triadic
#562C7A #7A562C #2C7A56
tetradic
#562C7A #7A2F2C #507A2C #2C777A
square
#562C7A #7A2F2C #507A2C #2C777A
split-complementary
#562C7A #777A2C #2C7A2F
monochromatic
#170C20 #361C4D #562C7A #763CA7 #945CC4
Accessibility & contrast
On white
10.31
#562C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#562C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C7A
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C7A | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#503C4E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #562c7a; /* rgb */ color: rgb(86, 44, 122); /* oklch */ color: oklch(38.8% 0.130 306.0);
Tailwind
colors: {
custom: {
50: '#8968a1',
500: '#562c7a',
950: '#000000',
},
}SCSS
$custom: #562c7a; $custom-light: #8968a1; $custom-dark: #000000;
JSON
{
"hex": "#562c7a",
"rgb": {
"r": 86,
"g": 44,
"b": 122
},
"hsl": {
"h": 272.308,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.38792,
"c": 0.12981,
"h": 306
},
"luminance": 0.05185
}Semantic roles & 50–950 ramp
primary
#562C7A
secondary
#7EAA57
accent
#D7518F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E