#5B495C#5B495C

#5B495C is a dark, muted purple. Relative luminance 0.078; OKLCH L 43.1% C 0.038 H 324.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5B495C
RGBrgb(91, 73, 92)
HSLhsl(297, 12%, 32%)
HSVhsv(297, 21%, 36%)
CMYKcmyk(1.1%, 20.7%, 0%, 63.9%)
CIE-LABlab(33.48, 11.43, -8.30)
CIE-LCHlch(33.48, 14.13, 324.01°)
OKLaboklab(43.1% 0.0313 -0.0223)
OKLCHoklch(43.1% 0.038 324.5)
XYZxyz(8.6285, 7.7621, 11.1668)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B495C #4A5C49
analogous
#52495C #5B495C #5C4954
triadic
#5B495C #5C5B49 #495C5B
tetradic
#5B495C #5C5249 #4A5C49 #49545C
square
#5B495C #5C5249 #4A5C49 #49545C
split-complementary
#5B495C #545C49 #495C52
monochromatic
#171318 #392E3A #5B495C #7D647E #9B839D

Accessibility & contrast

On white

8.23
#5B495C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5B495C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B495C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B495C#FFFFFF#000000##FFFFFF
##5B495C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5D
Deuteranopia (green-blind)
#4C4F5B
Tritanopia (blue-blind)
#5C4B4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b495c;
/* rgb */ color: rgb(91, 73, 92);
/* oklch */ color: oklch(43.1% 0.038 324.5);
Tailwind
colors: {
  custom: {
    50: '#897b8a',
    500: '#5b495c',
    950: '#000000',
  },
}
SCSS
$custom: #5b495c;
$custom-light: #897b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b495c",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 92
  },
  "hsl": {
    "h": 296.842,
    "s": 11.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.03843,
    "h": 324.5
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#5B495C
secondary
#778B76
accent
#B47377
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5B495C

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

Preview Lab → · Contrast checker → · Palette generator →

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