#562B92#562B92
#562B92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.160 H 298.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #562B92 |
|---|---|
| RGB | rgb(86, 43, 146) |
| HSL | hsl(265, 54%, 37%) |
| HSV | hsv(265, 71%, 57%) |
| CMYK | cmyk(41.1%, 70.5%, 0%, 42.7%) |
| CIE-LAB | lab(28.85, 41.83, -49.52) |
| CIE-LCH | lch(28.85, 64.82, 310.19°) |
| OKLab | oklab(40.51% 0.075 -0.1414) |
| OKLCH | oklch(40.51% 0.16 298) |
| XYZ | xyz(9.8886, 5.7814, 27.7835) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.48
Darkslateblue
#483D8B
ΔE00 6.40
Indigo
#4B0082
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 7.13
Blueberry
#464196
ΔE00 7.51
Purple (survey)
#7E1E9C
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562B92 #67922B
analogous
#2B3392 #562B92 #8A2B92
triadic
#562B92 #92562B #2B9256
tetradic
#562B92 #922B33 #67922B #2B928A
square
#562B92 #922B33 #67922B #2B928A
split-complementary
#562B92 #928A2B #33922B
monochromatic
#1E0F33 #3A1D63 #562B92 #7239C1 #9366D2
Accessibility & contrast
On white
9.74
#562B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#562B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562B92
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562B92 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#47445B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #562b92; /* rgb */ color: rgb(86, 43, 146); /* oklch */ color: oklch(40.5% 0.160 298.0);
Tailwind
colors: {
custom: {
50: '#8b68b3',
500: '#562b92',
950: '#000000',
},
}SCSS
$custom: #562b92; $custom-light: #8b68b3; $custom-dark: #000000;
JSON
{
"hex": "#562b92",
"rgb": {
"r": 86,
"g": 43,
"b": 146
},
"hsl": {
"h": 265.049,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.40511,
"c": 0.16004,
"h": 298
},
"luminance": 0.05782
}Semantic roles & 50–950 ramp
primary
#562B92
secondary
#94B861
accent
#DE4AA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80