#562BAC#562BAC
#562BAC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.190 H 291.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #562BAC |
|---|---|
| RGB | rgb(86, 43, 172) |
| HSL | hsl(260, 60%, 42%) |
| HSV | hsv(260, 75%, 67%) |
| CMYK | cmyk(50%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(31.08, 48.93, -61.68) |
| CIE-LCH | lch(31.08, 78.73, 308.42°) |
| OKLab | oklab(42.78% 0.0694 -0.1771) |
| OKLCH | oklch(42.78% 0.19 291.4) |
| XYZ | xyz(12.1459, 6.6843, 39.6720) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.86
Indigo Blue
#3A18B1
ΔE00 4.99
Rebeccapurple
#663399
ΔE00 5.00
Violet Blue
#510AC9
ΔE00 5.10
Blue With A Hint Of Purple
#533CC6
ΔE00 5.49
Blurple
#5539CC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562BAC #81AC2B
analogous
#2B41AC #562BAC #972BAC
triadic
#562BAC #AC562B #2BAC56
tetradic
#562BAC #AC2B41 #81AC2B #2BAC97
square
#562BAC #AC2B41 #81AC2B #2BAC97
split-complementary
#562BAC #AC972B #41AC2B
monochromatic
#25134A #3E1F7B #562BAC #7344D0 #9775DC
Accessibility & contrast
On white
8.99
#562BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#562BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562BAC
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562BAC | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#394E69
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #562bac; /* rgb */ color: rgb(86, 43, 172); /* oklch */ color: oklch(42.8% 0.190 291.4);
Tailwind
colors: {
custom: {
50: '#8e69c6',
500: '#562bac',
950: '#000000',
},
}SCSS
$custom: #562bac; $custom-light: #8e69c6; $custom-dark: #000000;
JSON
{
"hex": "#562bac",
"rgb": {
"r": 86,
"g": 43,
"b": 172
},
"hsl": {
"h": 260,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.42775,
"c": 0.1902,
"h": 291.4
},
"luminance": 0.06685
}Semantic roles & 50–950 ramp
primary
#562BAC
secondary
#A8C46F
accent
#E345AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82