#562C91#562C91
#562C91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.158 H 298.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #562C91 |
|---|---|
| RGB | rgb(86, 44, 145) |
| HSL | hsl(265, 53%, 37%) |
| HSV | hsv(265, 70%, 57%) |
| CMYK | cmyk(40.7%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(28.96, 41.03, -48.73) |
| CIE-LCH | lch(28.96, 63.70, 310.10°) |
| OKLab | oklab(40.57% 0.0741 -0.139) |
| OKLCH | oklch(40.57% 0.158 298.1) |
| XYZ | xyz(9.8480, 5.8240, 27.3879) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.40
Darkslateblue
#483D8B
ΔE00 6.18
Indigo
#4B0082
ΔE00 7.11
Blueberry
#464196
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 7.37
Purple (survey)
#7E1E9C
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C91 #67912C
analogous
#2C3591 #562C91 #882C91
triadic
#562C91 #91562C #2C9156
tetradic
#562C91 #912C35 #67912C #2C9188
square
#562C91 #912C35 #67912C #2C9188
split-complementary
#562C91 #91882C #35912C
monochromatic
#1E1033 #3A1E62 #562C91 #723AC0 #9367D1
Accessibility & contrast
On white
9.70
#562C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#562C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C91
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C91 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#48445B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #562c91; /* rgb */ color: rgb(86, 44, 145); /* oklch */ color: oklch(40.6% 0.158 298.1);
Tailwind
colors: {
custom: {
50: '#8b68b2',
500: '#562c91',
950: '#000000',
},
}SCSS
$custom: #562c91; $custom-light: #8b68b2; $custom-dark: #000000;
JSON
{
"hex": "#562c91",
"rgb": {
"r": 86,
"g": 44,
"b": 145
},
"hsl": {
"h": 264.95,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.40565,
"c": 0.15755,
"h": 298.1
},
"luminance": 0.05824
}Semantic roles & 50–950 ramp
primary
#562C91
secondary
#94B762
accent
#DD4BA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80