#562F91#562F91
#562F91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.154 H 297.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #562F91 |
|---|---|
| RGB | rgb(86, 47, 145) |
| HSL | hsl(264, 51%, 38%) |
| HSV | hsv(264, 68%, 57%) |
| CMYK | cmyk(40.7%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.55, 39.41, -47.77) |
| CIE-LCH | lch(29.55, 61.93, 309.52°) |
| OKLab | oklab(40.99% 0.0707 -0.1362) |
| OKLCH | oklch(40.99% 0.154 297.4) |
| XYZ | xyz(9.9638, 6.0556, 27.4265) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.19
Darkslateblue
#483D8B
ΔE00 5.56
Blueberry
#464196
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 7.75
Indigo
#4B0082
ΔE00 7.78
Ocean Blue
#4F42B5
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562F91 #6A912F
analogous
#2F3991 #562F91 #872F91
triadic
#562F91 #91562F #2F9156
tetradic
#562F91 #912F39 #6A912F #2F9187
square
#562F91 #912F39 #6A912F #2F9187
split-complementary
#562F91 #91872F #39912F
monochromatic
#1F1135 #3B2063 #562F91 #713EBF #936BCF
Accessibility & contrast
On white
9.50
#562F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#562F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562F91
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562F91 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#48465C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562f91; /* rgb */ color: rgb(86, 47, 145); /* oklch */ color: oklch(41.0% 0.154 297.4);
Tailwind
colors: {
custom: {
50: '#8b6ab2',
500: '#562f91',
950: '#000000',
},
}SCSS
$custom: #562f91; $custom-light: #8b6ab2; $custom-dark: #000000;
JSON
{
"hex": "#562f91",
"rgb": {
"r": 86,
"g": 47,
"b": 145
},
"hsl": {
"h": 263.878,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.40987,
"c": 0.15352,
"h": 297.4
},
"luminance": 0.06056
}Semantic roles & 50–950 ramp
primary
#562F91
secondary
#96B665
accent
#DB4DA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80