#562F6F#562F6F
#562F6F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.111 H 310.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #562F6F |
|---|---|
| RGB | rgb(86, 47, 111) |
| HSL | hsl(277, 41%, 31%) |
| HSV | hsv(277, 58%, 44%) |
| CMYK | cmyk(22.5%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(27.18, 30.43, -30.25) |
| CIE-LCH | lch(27.18, 42.91, 315.16°) |
| OKLab | oklab(38.51% 0.072 -0.0848) |
| OKLCH | oklch(38.51% 0.111 310.3) |
| XYZ | xyz(7.7230, 5.1593, 15.6248) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 7.84
Darkish Purple
#751973
ΔE00 7.92
Grape
#6C3461
ΔE00 8.48
Darkslateblue
#483D8B
ΔE00 8.53
Royal Purple (survey)
#4B006E
ΔE00 8.88
Grape Purple
#5D1451
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562F6F #486F2F
analogous
#362F6F #562F6F #6F2F68
triadic
#562F6F #6F562F #2F6F56
tetradic
#562F6F #6F362F #486F2F #2F686F
square
#562F6F #6F362F #486F2F #2F686F
split-complementary
#562F6F #686F2F #2F6F36
monochromatic
#130B19 #351D44 #562F6F #77419A #965EBB
Accessibility & contrast
On white
10.34
#562F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#562F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562F6F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562F6F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#533A4A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #562f6f; /* rgb */ color: rgb(86, 47, 111); /* oklch */ color: oklch(38.5% 0.111 310.3);
Tailwind
colors: {
custom: {
50: '#886999',
500: '#562f6f',
950: '#000000',
},
}SCSS
$custom: #562f6f; $custom-light: #886999; $custom-dark: #000000;
JSON
{
"hex": "#562f6f",
"rgb": {
"r": 86,
"g": 47,
"b": 111
},
"hsl": {
"h": 276.563,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.38509,
"c": 0.11129,
"h": 310.3
},
"luminance": 0.05159
}Semantic roles & 50–950 ramp
primary
#562F6F
secondary
#75A059
accent
#D05787
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E