#5B294B#5B294B
#5B294B is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.2% C 0.087 H 341.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B294B |
|---|---|
| RGB | rgb(91, 41, 75) |
| HSL | hsl(319, 38%, 26%) |
| HSV | hsv(319, 55%, 36%) |
| CMYK | cmyk(0%, 54.9%, 17.6%, 64.3%) |
| CIE-LAB | lab(24.70, 27.75, -10.53) |
| CIE-LCH | lch(24.70, 29.69, 339.22°) |
| OKLab | oklab(36.21% 0.082 -0.0281) |
| OKLCH | oklch(36.21% 0.087 341.1) |
| XYZ | xyz(6.3774, 4.3185, 7.1529) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.34
Plum (survey)
#580F41
ΔE00 5.52
Grape Purple
#5D1451
ΔE00 6.08
Velvet
#750851
ΔE00 7.70
Rich Purple
#720058
ΔE00 8.42
Aubergine
#3D0734
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B294B #295B39
analogous
#52295B #5B294B #5B2932
triadic
#5B294B #4B5B29 #294B5B
tetradic
#5B294B #5B5229 #295B39 #29325B
square
#5B294B #5B5229 #295B39 #29325B
split-complementary
#5B294B #325B29 #295B52
monochromatic
#150A11 #311628 #5B294B #853C6E #AF4F91
Accessibility & contrast
On white
11.27
#5B294B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#5B294B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B294B
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B294B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B294B | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#393E4A
Tritanopia (blue-blind)
#602A36
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #5b294b; /* rgb */ color: rgb(91, 41, 75); /* oklch */ color: oklch(36.2% 0.087 341.1);
Tailwind
colors: {
custom: {
50: '#8b657d',
500: '#5b294b',
950: '#000000',
},
}SCSS
$custom: #5b294b; $custom-light: #8b657d; $custom-dark: #000000;
JSON
{
"hex": "#5b294b",
"rgb": {
"r": 91,
"g": 41,
"b": 75
},
"hsl": {
"h": 319.2,
"s": 37.879,
"l": 25.882
},
"oklch": {
"l": 0.36207,
"c": 0.0867,
"h": 341.1
},
"luminance": 0.04318
}Semantic roles & 50–950 ramp
primary
#5B294B
secondary
#528E65
accent
#CE7F5A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0609
muted
#7D7A7B