#562AAF#562AAF
#562AAF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.195 H 290.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #562AAF |
|---|---|
| RGB | rgb(86, 42, 175) |
| HSL | hsl(260, 61%, 43%) |
| HSV | hsv(260, 76%, 69%) |
| CMYK | cmyk(50.9%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(31.18, 50.23, -63.30) |
| CIE-LCH | lch(31.18, 80.81, 308.43°) |
| OKLab | oklab(42.93% 0.0695 -0.1818) |
| OKLCH | oklch(42.93% 0.195 290.9) |
| XYZ | xyz(12.4014, 6.7290, 41.1945) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.43
Violet Blue
#510AC9
ΔE00 4.68
Indigo Blue
#3A18B1
ΔE00 4.82
Blue With A Hint Of Purple
#533CC6
ΔE00 5.32
Blurple
#5539CC
ΔE00 5.34
Rebeccapurple
#663399
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562AAF #83AF2A
analogous
#2A40AF #562AAF #992AAF
triadic
#562AAF #AF562A #2AAF56
tetradic
#562AAF #AF2A40 #83AF2A #2AAF99
square
#562AAF #AF2A40 #83AF2A #2AAF99
split-complementary
#562AAF #AF992A #40AF2A
monochromatic
#25124C #3E1E7E #562AAF #7344D2 #9875DE
Accessibility & contrast
On white
8.95
#562AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#562AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562AAF
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562AAF | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#374F6B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #562aaf; /* rgb */ color: rgb(86, 42, 175); /* oklch */ color: oklch(42.9% 0.195 290.9);
Tailwind
colors: {
custom: {
50: '#8f68c8',
500: '#562aaf',
950: '#000000',
},
}SCSS
$custom: #562aaf; $custom-light: #8f68c8; $custom-dark: #000000;
JSON
{
"hex": "#562aaf",
"rgb": {
"r": 86,
"g": 42,
"b": 175
},
"hsl": {
"h": 259.85,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.42932,
"c": 0.19465,
"h": 290.9
},
"luminance": 0.0673
}Semantic roles & 50–950 ramp
primary
#562AAF
secondary
#A9C66F
accent
#E443AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82