#562C96#562C96
#562C96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.163 H 296.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #562C96 |
|---|---|
| RGB | rgb(86, 44, 150) |
| HSL | hsl(264, 55%, 38%) |
| HSV | hsv(264, 71%, 59%) |
| CMYK | cmyk(42.7%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.37, 42.39, -51.14) |
| CIE-LCH | lch(29.37, 66.43, 309.65°) |
| OKLab | oklab(40.98% 0.0733 -0.1461) |
| OKLCH | oklch(40.98% 0.163 296.6) |
| XYZ | xyz(10.2420, 5.9816, 29.4632) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.40
Darkslateblue
#483D8B
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 6.74
Blueberry
#464196
ΔE00 7.21
Indigo
#4B0082
ΔE00 7.32
Ocean Blue
#4F42B5
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C96 #6C962C
analogous
#2C3796 #562C96 #8B2C96
triadic
#562C96 #96562C #2C9656
tetradic
#562C96 #962C37 #6C962C #2C968B
square
#562C96 #962C37 #6C962C #2C968B
split-complementary
#562C96 #968B2C #37962C
monochromatic
#201037 #3B1E67 #562C96 #713AC5 #9369D3
Accessibility & contrast
On white
9.56
#562C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#562C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C96
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C96 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#46465D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #562c96; /* rgb */ color: rgb(86, 44, 150); /* oklch */ color: oklch(41.0% 0.163 296.6);
Tailwind
colors: {
custom: {
50: '#8b69b6',
500: '#562c96',
950: '#000000',
},
}SCSS
$custom: #562c96; $custom-light: #8b69b6; $custom-dark: #000000;
JSON
{
"hex": "#562c96",
"rgb": {
"r": 86,
"g": 44,
"b": 150
},
"hsl": {
"h": 263.774,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.40978,
"c": 0.16349,
"h": 296.6
},
"luminance": 0.05982
}Semantic roles & 50–950 ramp
primary
#562C96
secondary
#98BA64
accent
#DE4AA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80