#5A485A#5A485A

#5A485A is a dark, muted purple. Relative luminance 0.075; OKLCH L 42.7% C 0.037 H 326.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5A485A
RGBrgb(90, 72, 90)
HSLhsl(300, 11%, 32%)
HSVhsv(300, 20%, 35%)
CMYKcmyk(0%, 20%, 0%, 64.7%)
CIE-LABlab(33.02, 11.23, -7.74)
CIE-LCHlch(33.02, 13.64, 325.45°)
OKLaboklab(42.69% 0.031 -0.0207)
OKLCHoklch(42.69% 0.037 326.2)
XYZxyz(8.3791, 7.5468, 10.6862)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A485A #485A48
analogous
#51485A #5A485A #5A4851
triadic
#5A485A #5A5A48 #485A5A
tetradic
#5A485A #5A5148 #485A48 #48515A
square
#5A485A #5A5148 #485A48 #48515A
split-complementary
#5A485A #515A48 #485A51
monochromatic
#161216 #382D38 #5A485A #7C637C #9B829B

Accessibility & contrast

On white

8.37
#5A485A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5A485A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A485A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A485A#FFFFFF#000000##FFFFFF
##5A485A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#4B4E59
Tritanopia (blue-blind)
#5B494E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a485a;
/* rgb */ color: rgb(90, 72, 90);
/* oklch */ color: oklch(42.7% 0.037 326.2);
Tailwind
colors: {
  custom: {
    50: '#887b88',
    500: '#5a485a',
    950: '#000000',
  },
}
SCSS
$custom: #5a485a;
$custom-light: #887b88;
$custom-dark: #000000;
JSON
{
  "hex": "#5a485a",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 90
  },
  "hsl": {
    "h": 300,
    "s": 11.111,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.03728,
    "h": 326.2
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#5A485A
secondary
#758975
accent
#B47474
background
#F8F7F8
surface
#F0EDEF
border
#CBC8CA
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5A485A

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

Preview Lab → · Contrast checker → · Palette generator →

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