#562F56#562F56
#562F56 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.0% C 0.081 H 327.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #562F56 |
|---|---|
| RGB | rgb(86, 47, 86) |
| HSL | hsl(300, 29%, 26%) |
| HSV | hsv(300, 45%, 34%) |
| CMYK | cmyk(0%, 45.3%, 0%, 66.3%) |
| CIE-LAB | lab(25.81, 24.59, -16.18) |
| CIE-LCH | lch(25.81, 29.44, 326.65°) |
| OKLab | oklab(37.05% 0.0682 -0.0442) |
| OKLCH | oklch(37.05% 0.081 327.1) |
| XYZ | xyz(6.5339, 4.6837, 9.3622) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 5.00
Grape Purple
#5D1451
ΔE00 6.81
Plum (survey)
#580F41
ΔE00 8.12
Deep Violet
#490648
ΔE00 9.07
Plum Purple
#4E0550
ΔE00 9.20
Bruise
#7E4071
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562F56 #2F562F
analogous
#422F56 #562F56 #562F42
triadic
#562F56 #56562F #2F5656
tetradic
#562F56 #56422F #2F562F #2F4256
square
#562F56 #56422F #2F562F #2F4256
split-complementary
#562F56 #42562F #2F5642
monochromatic
#140B14 #2E192E #562F56 #7E457E #A55AA5
Accessibility & contrast
On white
10.84
#562F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#562F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562F56
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562F56 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3A57
Deuteranopia (green-blind)
#363F55
Tritanopia (blue-blind)
#58333E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #562f56; /* rgb */ color: rgb(86, 47, 86); /* oklch */ color: oklch(37.0% 0.081 327.1);
Tailwind
colors: {
custom: {
50: '#876985',
500: '#562f56',
950: '#000000',
},
}SCSS
$custom: #562f56; $custom-light: #876985; $custom-dark: #000000;
JSON
{
"hex": "#562f56",
"rgb": {
"r": 86,
"g": 47,
"b": 86
},
"hsl": {
"h": 300,
"s": 29.323,
"l": 26.078
},
"oklch": {
"l": 0.37047,
"c": 0.08127,
"h": 327.1
},
"luminance": 0.04683
}Semantic roles & 50–950 ramp
primary
#562F56
secondary
#598759
accent
#C66262
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C