#562F93#562F93
#562F93 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.156 H 296.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #562F93 |
|---|---|
| RGB | rgb(86, 47, 147) |
| HSL | hsl(263, 52%, 38%) |
| HSV | hsv(263, 68%, 58%) |
| CMYK | cmyk(41.5%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(29.71, 39.96, -48.75) |
| CIE-LCH | lch(29.71, 63.03, 309.34°) |
| OKLab | oklab(41.15% 0.0705 -0.1391) |
| OKLCH | oklch(41.15% 0.156 296.9) |
| XYZ | xyz(10.1194, 6.1179, 28.2458) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.16
Darkslateblue
#483D8B
ΔE00 5.60
Blueberry
#464196
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 7.50
Ocean Blue
#4F42B5
ΔE00 7.53
Indigo
#4B0082
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562F93 #6C932F
analogous
#2F3A93 #562F93 #882F93
triadic
#562F93 #93562F #2F9356
tetradic
#562F93 #932F3A #6C932F #2F9388
square
#562F93 #932F3A #6C932F #2F9388
split-complementary
#562F93 #93882F #3A932F
monochromatic
#201136 #3B2065 #562F93 #713EC1 #936CD0
Accessibility & contrast
On white
9.44
#562F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#562F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562F93
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562F93 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#47475D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562f93; /* rgb */ color: rgb(86, 47, 147); /* oklch */ color: oklch(41.1% 0.156 296.9);
Tailwind
colors: {
custom: {
50: '#8b6ab3',
500: '#562f93',
950: '#000000',
},
}SCSS
$custom: #562f93; $custom-light: #8b6ab3; $custom-dark: #000000;
JSON
{
"hex": "#562f93",
"rgb": {
"r": 86,
"g": 47,
"b": 147
},
"hsl": {
"h": 263.4,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.41148,
"c": 0.15596,
"h": 296.9
},
"luminance": 0.06118
}Semantic roles & 50–950 ramp
primary
#562F93
secondary
#98B766
accent
#DB4DA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80