#5A495C#5A495C

#5A495C is a dark, muted purple. Relative luminance 0.077; OKLCH L 43.0% C 0.038 H 322.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5A495C
RGBrgb(90, 73, 92)
HSLhsl(294, 12%, 32%)
HSVhsv(294, 21%, 36%)
CMYKcmyk(2.2%, 20.7%, 0%, 63.9%)
CIE-LABlab(33.37, 11.04, -8.47)
CIE-LCHlch(33.37, 13.92, 322.49°)
OKLaboklab(42.99% 0.03 -0.0228)
OKLCHoklch(42.99% 0.038 322.8)
XYZxyz(8.5305, 7.7116, 11.1623)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A495C #4B5C49
analogous
#51495C #5A495C #5C4955
triadic
#5A495C #5C5A49 #495C5A
tetradic
#5A495C #5C5149 #4B5C49 #49555C
square
#5A495C #5C5149 #4B5C49 #49555C
split-complementary
#5A495C #555C49 #495C51
monochromatic
#171318 #392E3A #5A495C #7B647E #9A839D

Accessibility & contrast

On white

8.26
#5A495C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5A495C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A495C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A495C#FFFFFF#000000##FFFFFF
##5A495C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#5B4B4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a495c;
/* rgb */ color: rgb(90, 73, 92);
/* oklch */ color: oklch(43.0% 0.038 322.8);
Tailwind
colors: {
  custom: {
    50: '#887b8a',
    500: '#5a495c',
    950: '#000000',
  },
}
SCSS
$custom: #5a495c;
$custom-light: #887b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a495c",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 92
  },
  "hsl": {
    "h": 293.684,
    "s": 11.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.03766,
    "h": 322.8
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#5A495C
secondary
#788B76
accent
#B4737A
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5A495C

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

Preview Lab → · Contrast checker → · Palette generator →

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