#5B294E#5B294E
#5B294E is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.3% C 0.089 H 338.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5B294E |
|---|---|
| RGB | rgb(91, 41, 78) |
| HSL | hsl(316, 38%, 26%) |
| HSV | hsv(316, 55%, 36%) |
| CMYK | cmyk(0%, 54.9%, 14.3%, 64.3%) |
| CIE-LAB | lab(24.83, 28.30, -12.33) |
| CIE-LCH | lch(24.83, 30.87, 336.45°) |
| OKLab | oklab(36.35% 0.0828 -0.0332) |
| OKLCH | oklch(36.35% 0.089 338.2) |
| XYZ | xyz(6.4825, 4.3605, 7.7065) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.81
Grape Purple
#5D1451
ΔE00 5.45
Plum (survey)
#580F41
ΔE00 5.51
Velvet
#750851
ΔE00 7.60
Rich Purple
#720058
ΔE00 8.01
Deep Violet
#490648
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B294E #295B36
analogous
#4F295B #5B294E #5B2935
triadic
#5B294E #4E5B29 #294E5B
tetradic
#5B294E #5B4F29 #295B36 #29355B
square
#5B294E #5B4F29 #295B36 #29355B
split-complementary
#5B294E #355B29 #295B4F
monochromatic
#150A12 #31162A #5B294E #853C72 #AF4F96
Accessibility & contrast
On white
11.22
#5B294E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#5B294E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B294E
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B294E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B294E | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#383E4D
Tritanopia (blue-blind)
#602B38
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #5b294e; /* rgb */ color: rgb(91, 41, 78); /* oklch */ color: oklch(36.3% 0.089 338.2);
Tailwind
colors: {
custom: {
50: '#8b657f',
500: '#5b294e',
950: '#000000',
},
}SCSS
$custom: #5b294e; $custom-light: #8b657f; $custom-dark: #000000;
JSON
{
"hex": "#5b294e",
"rgb": {
"r": 91,
"g": 41,
"b": 78
},
"hsl": {
"h": 315.6,
"s": 37.879,
"l": 25.882
},
"oklch": {
"l": 0.36348,
"c": 0.08924,
"h": 338.2
},
"luminance": 0.0436
}Semantic roles & 50–950 ramp
primary
#5B294E
secondary
#528E62
accent
#CE785A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C