#562C6F#562C6F
#562C6F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 38.0% C 0.116 H 311.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #562C6F |
|---|---|
| RGB | rgb(86, 44, 111) |
| HSL | hsl(278, 43%, 30%) |
| HSV | hsv(278, 60%, 44%) |
| CMYK | cmyk(22.5%, 60.4%, 0%, 56.5%) |
| CIE-LAB | lab(26.53, 32.17, -31.30) |
| CIE-LCH | lch(26.53, 44.88, 315.78°) |
| OKLab | oklab(38.03% 0.0764 -0.0879) |
| OKLCH | oklch(38.03% 0.116 311) |
| XYZ | xyz(7.6071, 4.9277, 15.5862) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkish Purple
#751973
ΔE00 7.47
Rebeccapurple
#663399
ΔE00 7.74
Royal Purple (survey)
#4B006E
ΔE00 8.06
Plum Purple
#4E0550
ΔE00 8.61
Grape
#6C3461
ΔE00 8.74
Grape Purple
#5D1451
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C6F #456F2C
analogous
#342C6F #562C6F #6F2C66
triadic
#562C6F #6F562C #2C6F56
tetradic
#562C6F #6F342C #456F2C #2C666F
square
#562C6F #6F342C #456F2C #2C666F
split-complementary
#562C6F #666F2C #2C6F34
monochromatic
#120917 #341B43 #562C6F #783D9B #9758BD
Accessibility & contrast
On white
10.58
#562C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#562C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C6F
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C6F | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#26406D
Tritanopia (blue-blind)
#533849
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #562c6f; /* rgb */ color: rgb(86, 44, 111); /* oklch */ color: oklch(38.0% 0.116 311.0);
Tailwind
colors: {
custom: {
50: '#886799',
500: '#562c6f',
950: '#000000',
},
}SCSS
$custom: #562c6f; $custom-light: #886799; $custom-dark: #000000;
JSON
{
"hex": "#562c6f",
"rgb": {
"r": 86,
"g": 44,
"b": 111
},
"hsl": {
"h": 277.612,
"s": 43.226,
"l": 30.392
},
"oklch": {
"l": 0.38028,
"c": 0.11644,
"h": 311
},
"luminance": 0.04927
}Semantic roles & 50–950 ramp
primary
#562C6F
secondary
#72A156
accent
#D35584
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E