#562C97#562C97
#562C97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.165 H 296.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #562C97 |
|---|---|
| RGB | rgb(86, 44, 151) |
| HSL | hsl(264, 55%, 38%) |
| HSV | hsv(264, 71%, 59%) |
| CMYK | cmyk(43%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.45, 42.66, -51.62) |
| CIE-LCH | lch(29.45, 66.97, 309.57°) |
| OKLab | oklab(41.06% 0.0731 -0.1476) |
| OKLCH | oklch(41.06% 0.165 296.4) |
| XYZ | xyz(10.3229, 6.0139, 29.8891) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.42
Darkslateblue
#483D8B
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 6.63
Blueberry
#464196
ΔE00 7.19
Indigo
#4B0082
ΔE00 7.38
Ocean Blue
#4F42B5
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C97 #6D972C
analogous
#2C3897 #562C97 #8B2C97
triadic
#562C97 #97562C #2C9756
tetradic
#562C97 #972C38 #6D972C #2C978B
square
#562C97 #972C38 #6D972C #2C978B
split-complementary
#562C97 #978B2C #38972C
monochromatic
#201038 #3B1E68 #562C97 #713AC6 #936AD4
Accessibility & contrast
On white
9.53
#562C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#562C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C97
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C97 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#45465E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #562c97; /* rgb */ color: rgb(86, 44, 151); /* oklch */ color: oklch(41.1% 0.165 296.4);
Tailwind
colors: {
custom: {
50: '#8b69b6',
500: '#562c97',
950: '#000000',
},
}SCSS
$custom: #562c97; $custom-light: #8b69b6; $custom-dark: #000000;
JSON
{
"hex": "#562c97",
"rgb": {
"r": 86,
"g": 44,
"b": 151
},
"hsl": {
"h": 263.551,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.41062,
"c": 0.16467,
"h": 296.4
},
"luminance": 0.06014
}Semantic roles & 50–950 ramp
primary
#562C97
secondary
#99BA65
accent
#DE4AA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80