#562E94#562E94
#562E94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.159 H 296.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #562E94 |
|---|---|
| RGB | rgb(86, 46, 148) |
| HSL | hsl(264, 53%, 38%) |
| HSV | hsv(264, 69%, 58%) |
| CMYK | cmyk(41.9%, 68.9%, 0%, 42%) |
| CIE-LAB | lab(29.59, 40.78, -49.55) |
| CIE-LCH | lch(29.59, 64.18, 309.45°) |
| OKLab | oklab(41.09% 0.0715 -0.1415) |
| OKLCH | oklch(41.09% 0.159 296.8) |
| XYZ | xyz(10.1587, 6.0703, 28.6477) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 5.84
Blueberry
#464196
ΔE00 6.85
Indigo Blue
#3A18B1
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 7.56
Indigo
#4B0082
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562E94 #6C942E
analogous
#2E3994 #562E94 #892E94
triadic
#562E94 #94562E #2E9456
tetradic
#562E94 #942E39 #6C942E #2E9489
square
#562E94 #942E39 #6C942E #2E9489
split-complementary
#562E94 #94892E #39942E
monochromatic
#201137 #3B1F65 #562E94 #713DC3 #936BD1
Accessibility & contrast
On white
9.48
#562E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#562E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562E94
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562E94 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#46465D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562e94; /* rgb */ color: rgb(86, 46, 148); /* oklch */ color: oklch(41.1% 0.159 296.8);
Tailwind
colors: {
custom: {
50: '#8b6ab4',
500: '#562e94',
950: '#000000',
},
}SCSS
$custom: #562e94; $custom-light: #8b6ab4; $custom-dark: #000000;
JSON
{
"hex": "#562e94",
"rgb": {
"r": 86,
"g": 46,
"b": 148
},
"hsl": {
"h": 263.529,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.41087,
"c": 0.1585,
"h": 296.8
},
"luminance": 0.06071
}Semantic roles & 50–950 ramp
primary
#562E94
secondary
#98B866
accent
#DC4CA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80