#562E95#562E95
#562E95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.160 H 296.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #562E95 |
|---|---|
| RGB | rgb(86, 46, 149) |
| HSL | hsl(263, 53%, 38%) |
| HSV | hsv(263, 69%, 58%) |
| CMYK | cmyk(42.3%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(29.67, 41.05, -50.04) |
| CIE-LCH | lch(29.67, 64.72, 309.37°) |
| OKLab | oklab(41.17% 0.0713 -0.1429) |
| OKLCH | oklch(41.17% 0.16 296.5) |
| XYZ | xyz(10.2381, 6.1021, 29.0664) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 5.87
Blueberry
#464196
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.12
Ocean Blue
#4F42B5
ΔE00 7.43
Indigo
#4B0082
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562E95 #6D952E
analogous
#2E3995 #562E95 #892E95
triadic
#562E95 #95562E #2E9556
tetradic
#562E95 #952E39 #6D952E #2E9589
square
#562E95 #952E39 #6D952E #2E9589
split-complementary
#562E95 #95892E #39952E
monochromatic
#201137 #3B2066 #562E95 #713DC3 #936CD2
Accessibility & contrast
On white
9.46
#562E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#562E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562E95
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562E95 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#46475D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562e95; /* rgb */ color: rgb(86, 46, 149); /* oklch */ color: oklch(41.2% 0.160 296.5);
Tailwind
colors: {
custom: {
50: '#8b6ab5',
500: '#562e95',
950: '#000000',
},
}SCSS
$custom: #562e95; $custom-light: #8b6ab5; $custom-dark: #000000;
JSON
{
"hex": "#562e95",
"rgb": {
"r": 86,
"g": 46,
"b": 149
},
"hsl": {
"h": 263.301,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.41169,
"c": 0.15971,
"h": 296.5
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#562E95
secondary
#99B966
accent
#DC4CA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80