#562CAC#562CAC
#562CAC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.189 H 291.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #562CAC |
|---|---|
| RGB | rgb(86, 44, 172) |
| HSL | hsl(260, 59%, 42%) |
| HSV | hsv(260, 74%, 67%) |
| CMYK | cmyk(50%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(31.25, 48.44, -61.40) |
| CIE-LCH | lch(31.25, 78.20, 308.27°) |
| OKLab | oklab(42.9% 0.0686 -0.1763) |
| OKLCH | oklch(42.9% 0.189 291.3) |
| XYZ | xyz(12.1827, 6.7579, 39.6842) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.90
Rebeccapurple
#663399
ΔE00 4.94
Indigo Blue
#3A18B1
ΔE00 5.13
Violet Blue
#510AC9
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.34
Blurple
#5539CC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562CAC #82AC2C
analogous
#2C42AC #562CAC #962CAC
triadic
#562CAC #AC562C #2CAC56
tetradic
#562CAC #AC2C42 #82AC2C #2CAC96
square
#562CAC #AC2C42 #82AC2C #2CAC96
split-complementary
#562CAC #AC962C #42AC2C
monochromatic
#25134B #3E207B #562CAC #7346D0 #9876DC
Accessibility & contrast
On white
8.93
#562CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#562CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562CAC
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562CAC | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#394E6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #562cac; /* rgb */ color: rgb(86, 44, 172); /* oklch */ color: oklch(42.9% 0.189 291.3);
Tailwind
colors: {
custom: {
50: '#8e69c6',
500: '#562cac',
950: '#000000',
},
}SCSS
$custom: #562cac; $custom-light: #8e69c6; $custom-dark: #000000;
JSON
{
"hex": "#562cac",
"rgb": {
"r": 86,
"g": 44,
"b": 172
},
"hsl": {
"h": 259.688,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.42896,
"c": 0.18914,
"h": 291.3
},
"luminance": 0.06758
}Semantic roles & 50–950 ramp
primary
#562CAC
secondary
#A8C470
accent
#E245AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82