#562C9B#562C9B
#562C9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.169 H 295.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #562C9B |
|---|---|
| RGB | rgb(86, 44, 155) |
| HSL | hsl(263, 56%, 39%) |
| HSV | hsv(263, 72%, 61%) |
| CMYK | cmyk(44.5%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(29.78, 43.75, -53.53) |
| CIE-LCH | lch(29.78, 69.14, 309.26°) |
| OKLab | oklab(41.4% 0.0724 -0.1532) |
| OKLCH | oklch(41.4% 0.169 295.3) |
| XYZ | xyz(10.6532, 6.1461, 31.6290) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 7.10
Blueberry
#464196
ΔE00 7.16
Violet Blue
#510AC9
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C9B #719B2C
analogous
#2C399B #562C9B #8E2C9B
triadic
#562C9B #9B562C #2C9B56
tetradic
#562C9B #9B2C39 #719B2C #2C9B8E
square
#562C9B #9B2C39 #719B2C #2C9B8E
split-complementary
#562C9B #9B8E2C #399B2C
monochromatic
#21113C #3C1E6B #562C9B #713CC8 #946CD5
Accessibility & contrast
On white
9.42
#562C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#562C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C9B
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C9B | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#434860
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #562c9b; /* rgb */ color: rgb(86, 44, 155); /* oklch */ color: oklch(41.4% 0.169 295.3);
Tailwind
colors: {
custom: {
50: '#8c69b9',
500: '#562c9b',
950: '#000000',
},
}SCSS
$custom: #562c9b; $custom-light: #8c69b9; $custom-dark: #000000;
JSON
{
"hex": "#562c9b",
"rgb": {
"r": 86,
"g": 44,
"b": 155
},
"hsl": {
"h": 262.703,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.414,
"c": 0.16939,
"h": 295.3
},
"luminance": 0.06146
}Semantic roles & 50–950 ramp
primary
#562C9B
secondary
#9CBC67
accent
#DF49A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81