#5B375F#5B375F
#5B375F is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.6% C 0.079 H 323.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5B375F |
|---|---|
| RGB | rgb(91, 55, 95) |
| HSL | hsl(294, 27%, 29%) |
| HSV | hsv(294, 42%, 37%) |
| CMYK | cmyk(4.2%, 42.1%, 0%, 62.7%) |
| CIE-LAB | lab(28.86, 23.42, -17.29) |
| CIE-LCH | lch(28.86, 29.11, 323.57°) |
| OKLab | oklab(39.62% 0.0635 -0.0473) |
| OKLCH | oklch(39.62% 0.079 323.3) |
| XYZ | xyz(7.7459, 5.7830, 11.5325) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 4.54
Bruise
#7E4071
ΔE00 7.97
Dirty Purple
#734A65
ΔE00 8.19
Grape Purple
#5D1451
ΔE00 8.62
Darkish Purple
#751973
ΔE00 9.93
Plum (survey)
#580F41
ΔE00 10.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B375F #3B5F37
analogous
#47375F #5B375F #5F374F
triadic
#5B375F #5F5B37 #375F5B
tetradic
#5B375F #5F4737 #3B5F37 #374F5F
square
#5B375F #5F4737 #3B5F37 #374F5F
split-complementary
#5B375F #4F5F37 #375F47
monochromatic
#130B13 #362138 #5B375F #804D86 #A269A8
Accessibility & contrast
On white
9.74
#5B375F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#5B375F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B375F
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B375F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B375F | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#3C465E
Tritanopia (blue-blind)
#5C3B46
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5b375f; /* rgb */ color: rgb(91, 55, 95); /* oklch */ color: oklch(39.6% 0.079 323.3);
Tailwind
colors: {
custom: {
50: '#8a6f8c',
500: '#5b375f',
950: '#000000',
},
}SCSS
$custom: #5b375f; $custom-light: #8a6f8c; $custom-dark: #000000;
JSON
{
"hex": "#5b375f",
"rgb": {
"r": 91,
"g": 55,
"b": 95
},
"hsl": {
"h": 294,
"s": 26.667,
"l": 29.412
},
"oklch": {
"l": 0.39618,
"c": 0.0792,
"h": 323.3
},
"luminance": 0.05783
}Semantic roles & 50–950 ramp
primary
#5B375F
secondary
#678F62
accent
#C3656E
background
#F8F6F8
surface
#F0ECF0
border
#CBC7CB
text
#0C070C
muted
#7D7A7D