#5A4258#5A4258

#5A4258 is a dark, muted purple. Relative luminance 0.068; OKLCH L 41.3% C 0.048 H 329.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5A4258
RGBrgb(90, 66, 88)
HSLhsl(305, 15%, 31%)
HSVhsv(305, 27%, 35%)
CMYKcmyk(0%, 26.7%, 2.2%, 64.7%)
CIE-LABlab(31.29, 14.61, -9.06)
CIE-LCHlch(31.29, 17.20, 328.19°)
OKLaboklab(41.34% 0.0408 -0.0243)
OKLCHoklch(41.34% 0.048 329.2)
XYZxyz(7.9260, 6.7749, 10.1208)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4258 #425A44
analogous
#50425A #5A4258 #5A424C
triadic
#5A4258 #585A42 #42585A
tetradic
#5A4258 #5A5042 #425A44 #424C5A
square
#5A4258 #5A5042 #425A44 #424C5A
split-complementary
#5A4258 #4C5A42 #425A50
monochromatic
#130E13 #372835 #5A4258 #7D5C7B #9D799A

Accessibility & contrast

On white

8.92
#5A4258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5A4258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4258
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4258#FFFFFF#000000##FFFFFF
##5A42581.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#5C444A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5a4258;
/* rgb */ color: rgb(90, 66, 88);
/* oklch */ color: oklch(41.3% 0.048 329.2);
Tailwind
colors: {
  custom: {
    50: '#897687',
    500: '#5a4258',
    950: '#000000',
  },
}
SCSS
$custom: #5a4258;
$custom-light: #897687;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4258",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 305,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41337,
    "c": 0.04753,
    "h": 329.2
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#5A4258
secondary
#6F8971
accent
#B87670
background
#F8F7F8
surface
#F0EDEF
border
#CBC8CA
text
#0B080B
muted
#7C7B7C

Preview Lab

Preview with #5A4258

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

Preview Lab → · Contrast checker → · Palette generator →

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