#562CB3#562CB3
#562CB3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.197 H 289.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #562CB3 |
|---|---|
| RGB | rgb(86, 44, 179) |
| HSL | hsl(259, 61%, 44%) |
| HSV | hsv(259, 75%, 70%) |
| CMYK | cmyk(52%, 75.4%, 0%, 29.8%) |
| CIE-LAB | lab(31.88, 50.38, -64.54) |
| CIE-LCH | lch(31.88, 81.87, 307.97°) |
| OKLab | oklab(43.54% 0.0668 -0.1855) |
| OKLCH | oklch(43.54% 0.197 289.8) |
| XYZ | xyz(12.8728, 7.0339, 43.3185) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.99
Blurple
#5539CC
ΔE00 4.62
Blue With A Hint Of Purple
#533CC6
ΔE00 4.63
Violet Blue
#510AC9
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562CB3 #89B32C
analogous
#2C45B3 #562CB3 #992CB3
triadic
#562CB3 #B3562C #2CB356
tetradic
#562CB3 #B32C45 #89B32C #2CB399
square
#562CB3 #B32C45 #89B32C #2CB399
split-complementary
#562CB3 #B3992C #45B32C
monochromatic
#271451 #3E2082 #562CB3 #744AD2 #9A7BDF
Accessibility & contrast
On white
8.73
#562CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#562CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562CB3
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562CB3 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#34516E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #562cb3; /* rgb */ color: rgb(86, 44, 179); /* oklch */ color: oklch(43.5% 0.197 289.8);
Tailwind
colors: {
custom: {
50: '#8f6acb',
500: '#562cb3',
950: '#000000',
},
}SCSS
$custom: #562cb3; $custom-light: #8f6acb; $custom-dark: #000000;
JSON
{
"hex": "#562cb3",
"rgb": {
"r": 86,
"g": 44,
"b": 179
},
"hsl": {
"h": 258.667,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.43537,
"c": 0.19713,
"h": 289.8
},
"luminance": 0.07034
}Semantic roles & 50–950 ramp
primary
#562CB3
secondary
#ADC774
accent
#E444B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82