#562E93#562E93
#562E93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.157 H 297.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #562E93 |
|---|---|
| RGB | rgb(86, 46, 147) |
| HSL | hsl(264, 52%, 38%) |
| HSV | hsv(264, 69%, 58%) |
| CMYK | cmyk(41.5%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(29.51, 40.50, -49.07) |
| CIE-LCH | lch(29.51, 63.63, 309.54°) |
| OKLab | oklab(41.01% 0.0716 -0.1401) |
| OKLCH | oklch(41.01% 0.157 297.1) |
| XYZ | xyz(10.0798, 6.0388, 28.2326) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 5.81
Blueberry
#464196
ΔE00 6.88
Indigo Blue
#3A18B1
ΔE00 7.36
Indigo
#4B0082
ΔE00 7.61
Ocean Blue
#4F42B5
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562E93 #6B932E
analogous
#2E3993 #562E93 #882E93
triadic
#562E93 #93562E #2E9356
tetradic
#562E93 #932E39 #6B932E #2E9388
square
#562E93 #932E39 #6B932E #2E9388
split-complementary
#562E93 #93882E #39932E
monochromatic
#1F1136 #3B1F64 #562E93 #713DC2 #936BD1
Accessibility & contrast
On white
9.51
#562E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#562E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562E93
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562E93 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#47465C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562e93; /* rgb */ color: rgb(86, 46, 147); /* oklch */ color: oklch(41.0% 0.157 297.1);
Tailwind
colors: {
custom: {
50: '#8b6ab3',
500: '#562e93',
950: '#000000',
},
}SCSS
$custom: #562e93; $custom-light: #8b6ab3; $custom-dark: #000000;
JSON
{
"hex": "#562e93",
"rgb": {
"r": 86,
"g": 46,
"b": 147
},
"hsl": {
"h": 263.762,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.41006,
"c": 0.1573,
"h": 297.1
},
"luminance": 0.06039
}Semantic roles & 50–950 ramp
primary
#562E93
secondary
#97B865
accent
#DC4CA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80