#5B4E5D#5B4E5D

#5B4E5D is a dark, muted purple. Relative luminance 0.085; OKLCH L 44.2% C 0.029 H 321.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5B4E5D
RGBrgb(91, 78, 93)
HSLhsl(292, 9%, 34%)
HSVhsv(292, 16%, 36%)
CMYKcmyk(2.2%, 16.1%, 0%, 63.5%)
CIE-LABlab(34.93, 8.49, -6.76)
CIE-LCHlch(34.93, 10.86, 321.47°)
OKLaboklab(44.23% 0.023 -0.0181)
OKLCHoklch(44.23% 0.029 321.8)
XYZxyz(9.0143, 8.4634, 11.5125)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E5D #505D4E
analogous
#534E5D #5B4E5D #5D4E57
triadic
#5B4E5D #5D5B4E #4E5D5B
tetradic
#5B4E5D #5D534E #505D4E #4E575D
square
#5B4E5D #5D534E #505D4E #4E575D
split-complementary
#5B4E5D #575D4E #4E5D53
monochromatic
#1A161A #3A323C #5B4E5D #7C6A7E #9A899C

Accessibility & contrast

On white

7.80
#5B4E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5B4E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E5D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E5D#FFFFFF#000000##FFFFFF
##5B4E5D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#4F535C
Tritanopia (blue-blind)
#5C4F53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b4e5d;
/* rgb */ color: rgb(91, 78, 93);
/* oklch */ color: oklch(44.2% 0.029 321.8);
Tailwind
colors: {
  custom: {
    50: '#897f8a',
    500: '#5b4e5d',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e5d;
$custom-light: #897f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e5d",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 93
  },
  "hsl": {
    "h": 292,
    "s": 8.772,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4423,
    "c": 0.02927,
    "h": 321.8
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#5B4E5D
secondary
#7E8B7C
accent
#B2767E
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5B4E5D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5B4E5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva