#562E96#562E96
#562E96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.161 H 296.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #562E96 |
|---|---|
| RGB | rgb(86, 46, 150) |
| HSL | hsl(263, 53%, 38%) |
| HSV | hsv(263, 69%, 59%) |
| CMYK | cmyk(42.7%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.75, 41.33, -50.52) |
| CIE-LCH | lch(29.75, 65.27, 309.28°) |
| OKLab | oklab(41.25% 0.0712 -0.1443) |
| OKLCH | oklch(41.25% 0.161 296.2) |
| XYZ | xyz(10.3183, 6.1342, 29.4886) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.24
Darkslateblue
#483D8B
ΔE00 5.90
Blueberry
#464196
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.32
Indigo
#4B0082
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562E96 #6E962E
analogous
#2E3A96 #562E96 #8A2E96
triadic
#562E96 #96562E #2E9656
tetradic
#562E96 #962E3A #6E962E #2E968A
square
#562E96 #962E3A #6E962E #2E968A
split-complementary
#562E96 #968A2E #3A962E
monochromatic
#201138 #3B2067 #562E96 #713EC4 #936CD2
Accessibility & contrast
On white
9.43
#562E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#562E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562E96
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562E96 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#45475E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562e96; /* rgb */ color: rgb(86, 46, 150); /* oklch */ color: oklch(41.3% 0.161 296.2);
Tailwind
colors: {
custom: {
50: '#8b6ab6',
500: '#562e96',
950: '#000000',
},
}SCSS
$custom: #562e96; $custom-light: #8b6ab6; $custom-dark: #000000;
JSON
{
"hex": "#562e96",
"rgb": {
"r": 86,
"g": 46,
"b": 150
},
"hsl": {
"h": 263.077,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.41252,
"c": 0.16091,
"h": 296.2
},
"luminance": 0.06134
}Semantic roles & 50–950 ramp
primary
#562E96
secondary
#99B967
accent
#DC4BA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80