#562E8E#562E8E
#562E8E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.151 H 298.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #562E8E |
|---|---|
| RGB | rgb(86, 46, 142) |
| HSL | hsl(265, 51%, 37%) |
| HSV | hsv(265, 68%, 56%) |
| CMYK | cmyk(39.4%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(29.12, 39.14, -46.62) |
| CIE-LCH | lch(29.12, 60.87, 310.01°) |
| OKLab | oklab(40.6% 0.0723 -0.1329) |
| OKLCH | oklch(40.6% 0.151 298.5) |
| XYZ | xyz(9.6960, 5.8853, 26.2111) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.35
Darkslateblue
#483D8B
ΔE00 5.75
Blueberry
#464196
ΔE00 7.09
Indigo
#4B0082
ΔE00 7.49
Purple (survey)
#7E1E9C
ΔE00 7.79
Indigo Blue
#3A18B1
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562E8E #668E2E
analogous
#2E368E #562E8E #862E8E
triadic
#562E8E #8E562E #2E8E56
tetradic
#562E8E #8E2E36 #668E2E #2E8E86
square
#562E8E #8E2E36 #668E2E #2E8E86
split-complementary
#562E8E #8E862E #368E2E
monochromatic
#1E1032 #3A1F60 #562E8E #723DBC #9368CE
Accessibility & contrast
On white
9.65
#562E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#562E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562E8E
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562E8E | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#49445A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #562e8e; /* rgb */ color: rgb(86, 46, 142); /* oklch */ color: oklch(40.6% 0.151 298.5);
Tailwind
colors: {
custom: {
50: '#8a69b0',
500: '#562e8e',
950: '#000000',
},
}SCSS
$custom: #562e8e; $custom-light: #8a69b0; $custom-dark: #000000;
JSON
{
"hex": "#562e8e",
"rgb": {
"r": 86,
"g": 46,
"b": 142
},
"hsl": {
"h": 265,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.40604,
"c": 0.15124,
"h": 298.5
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#562E8E
secondary
#93B563
accent
#DB4DA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F