#562C99#562C99
#562C99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.167 H 295.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #562C99 |
|---|---|
| RGB | rgb(86, 44, 153) |
| HSL | hsl(263, 55%, 39%) |
| HSV | hsv(263, 71%, 60%) |
| CMYK | cmyk(43.8%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(29.61, 43.21, -52.58) |
| CIE-LCH | lch(29.61, 68.05, 309.41°) |
| OKLab | oklab(41.23% 0.0727 -0.1504) |
| OKLCH | oklch(41.23% 0.167 295.8) |
| XYZ | xyz(10.4867, 6.0795, 30.7518) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.49
Indigo Blue
#3A18B1
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.42
Blueberry
#464196
ΔE00 7.17
Ocean Blue
#4F42B5
ΔE00 7.30
Indigo
#4B0082
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C99 #6F992C
analogous
#2C3899 #562C99 #8C2C99
triadic
#562C99 #99562C #2C9956
tetradic
#562C99 #992C38 #6F992C #2C998C
square
#562C99 #992C38 #6F992C #2C998C
split-complementary
#562C99 #998C2C #38992C
monochromatic
#21113A #3B1E69 #562C99 #713BC7 #946BD4
Accessibility & contrast
On white
9.48
#562C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#562C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C99
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C99 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#44475F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562c99; /* rgb */ color: rgb(86, 44, 153); /* oklch */ color: oklch(41.2% 0.167 295.8);
Tailwind
colors: {
custom: {
50: '#8c69b8',
500: '#562c99',
950: '#000000',
},
}SCSS
$custom: #562c99; $custom-light: #8c69b8; $custom-dark: #000000;
JSON
{
"hex": "#562c99",
"rgb": {
"r": 86,
"g": 44,
"b": 153
},
"hsl": {
"h": 263.119,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.4123,
"c": 0.16704,
"h": 295.8
},
"luminance": 0.0608
}Semantic roles & 50–950 ramp
primary
#562C99
secondary
#9ABB66
accent
#DF49A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80