#5A485E#5A485E

#5A485E is a dark, muted purple. Relative luminance 0.076; OKLCH L 42.9% C 0.042 H 320.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5A485E
RGBrgb(90, 72, 94)
HSLhsl(289, 13%, 33%)
HSVhsv(289, 23%, 37%)
CMYKcmyk(4.3%, 23.4%, 0%, 63.1%)
CIE-LABlab(33.17, 12.12, -10.05)
CIE-LCHlch(33.17, 15.75, 320.33°)
OKLaboklab(42.86% 0.0325 -0.0271)
OKLCHoklch(42.86% 0.042 320.1)
XYZxyz(8.5539, 7.6167, 11.6071)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A485E #4C5E48
analogous
#4F485E #5A485E #5E4857
triadic
#5A485E #5E5A48 #485E5A
tetradic
#5A485E #5E4F48 #4C5E48 #48575E
square
#5A485E #5E4F48 #4C5E48 #48575E
split-complementary
#5A485E #575E48 #485E4F
monochromatic
#181319 #392D3B #5A485E #7B6381 #9A829F

Accessibility & contrast

On white

8.32
#5A485E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A485E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A485E#FFFFFF#000000##FFFFFF
##5A485E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#5A4A50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a485e;
/* rgb */ color: rgb(90, 72, 94);
/* oklch */ color: oklch(42.9% 0.042 320.1);
Tailwind
colors: {
  custom: {
    50: '#897b8b',
    500: '#5a485e',
    950: '#000000',
  },
}
SCSS
$custom: #5a485e;
$custom-light: #897b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a485e",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 94
  },
  "hsl": {
    "h": 289.091,
    "s": 13.253,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.04232,
    "h": 320.1
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#5A485E
secondary
#798D75
accent
#B6727E
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B090C
muted
#7C7B7D

Preview Lab

Preview with #5A485E

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

Preview Lab → · Contrast checker → · Palette generator →

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