#5A4658#5A4658

#5A4658 is a dark, muted purple. Relative luminance 0.073; OKLCH L 42.2% C 0.039 H 329.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5A4658
RGBrgb(90, 70, 88)
HSLhsl(306, 13%, 31%)
HSVhsv(306, 22%, 35%)
CMYKcmyk(0%, 22.2%, 2.2%, 64.7%)
CIE-LABlab(32.39, 12.07, -7.41)
CIE-LCHlch(32.39, 14.16, 328.46°)
OKLaboklab(42.18% 0.0337 -0.0198)
OKLCHoklch(42.18% 0.039 329.6)
XYZxyz(8.1679, 7.2588, 10.2014)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4658 #465A48
analogous
#52465A #5A4658 #5A464E
triadic
#5A4658 #585A46 #46585A
tetradic
#5A4658 #5A5246 #465A48 #464E5A
square
#5A4658 #5A5246 #465A48 #464E5A
split-complementary
#5A4658 #4E5A46 #465A52
monochromatic
#151015 #382B36 #5A4658 #7C617A #9B7F99

Accessibility & contrast

On white

8.57
#5A4658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5A4658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4658
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4658#FFFFFF#000000##FFFFFF
##5A46581.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B59
Deuteranopia (green-blind)
#4A4D57
Tritanopia (blue-blind)
#5C474C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5a4658;
/* rgb */ color: rgb(90, 70, 88);
/* oklch */ color: oklch(42.2% 0.039 329.6);
Tailwind
colors: {
  custom: {
    50: '#897987',
    500: '#5a4658',
    950: '#000000',
  },
}
SCSS
$custom: #5a4658;
$custom-light: #897987;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4658",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 88
  },
  "hsl": {
    "h": 306,
    "s": 12.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.03913,
    "h": 329.6
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#5A4658
secondary
#738975
accent
#B57972
background
#F8F7F8
surface
#F0EDEF
border
#CBC8CA
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5A4658

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

Preview Lab → · Contrast checker → · Palette generator →

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