#562B94#562B94
#562B94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.162 H 297.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #562B94 |
|---|---|
| RGB | rgb(86, 43, 148) |
| HSL | hsl(265, 55%, 37%) |
| HSV | hsv(265, 71%, 58%) |
| CMYK | cmyk(41.9%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(29.02, 42.37, -50.49) |
| CIE-LCH | lch(29.02, 65.91, 310.00°) |
| OKLab | oklab(40.68% 0.0747 -0.1442) |
| OKLCH | oklch(40.68% 0.162 297.4) |
| XYZ | xyz(10.0455, 5.8441, 28.6100) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.47
Darkslateblue
#483D8B
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.87
Indigo
#4B0082
ΔE00 7.02
Blueberry
#464196
ΔE00 7.45
Purple (survey)
#7E1E9C
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562B94 #69942B
analogous
#2B3594 #562B94 #8A2B94
triadic
#562B94 #94562B #2B9456
tetradic
#562B94 #942B35 #69942B #2B948A
square
#562B94 #942B35 #69942B #2B948A
split-complementary
#562B94 #948A2B #35942B
monochromatic
#1F0F35 #3A1D65 #562B94 #7239C3 #9367D3
Accessibility & contrast
On white
9.68
#562B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#562B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562B94
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562B94 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#46455C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #562b94; /* rgb */ color: rgb(86, 43, 148); /* oklch */ color: oklch(40.7% 0.162 297.4);
Tailwind
colors: {
custom: {
50: '#8b68b4',
500: '#562b94',
950: '#000000',
},
}SCSS
$custom: #562b94; $custom-light: #8b68b4; $custom-dark: #000000;
JSON
{
"hex": "#562b94",
"rgb": {
"r": 86,
"g": 43,
"b": 148
},
"hsl": {
"h": 264.571,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.40678,
"c": 0.16239,
"h": 297.4
},
"luminance": 0.05844
}Semantic roles & 50–950 ramp
primary
#562B94
secondary
#95B962
accent
#DE49A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80