#5A485C#5A485C

#5A485C is a dark, muted purple. Relative luminance 0.076; OKLCH L 42.8% C 0.040 H 323.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5A485C
RGBrgb(90, 72, 92)
HSLhsl(294, 12%, 32%)
HSVhsv(294, 22%, 36%)
CMYKcmyk(2.2%, 21.7%, 0%, 63.9%)
CIE-LABlab(33.10, 11.67, -8.90)
CIE-LCHlch(33.10, 14.68, 322.69°)
OKLaboklab(42.78% 0.0317 -0.0239)
OKLCHoklch(42.78% 0.04 323)
XYZxyz(8.4653, 7.5813, 11.1405)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A485C #4A5C48
analogous
#50485C #5A485C #5C4854
triadic
#5A485C #5C5A48 #485C5A
tetradic
#5A485C #5C5048 #4A5C48 #48545C
square
#5A485C #5C5048 #4A5C48 #48545C
split-complementary
#5A485C #545C48 #485C50
monochromatic
#171217 #382D3A #5A485C #7C637E #9A829D

Accessibility & contrast

On white

8.35
#5A485C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5A485C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A485C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A485C#FFFFFF#000000##FFFFFF
##5A485C1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5D
Deuteranopia (green-blind)
#4A4F5B
Tritanopia (blue-blind)
#5B4A4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a485c;
/* rgb */ color: rgb(90, 72, 92);
/* oklch */ color: oklch(42.8% 0.040 323.0);
Tailwind
colors: {
  custom: {
    50: '#897b8a',
    500: '#5a485c',
    950: '#000000',
  },
}
SCSS
$custom: #5a485c;
$custom-light: #897b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a485c",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 92
  },
  "hsl": {
    "h": 294,
    "s": 12.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.03975,
    "h": 323
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#5A485C
secondary
#778B75
accent
#B57379
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5A485C

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

Preview Lab → · Contrast checker → · Palette generator →

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