#5D475F#5D475F

#5D475F is a dark, muted purple. Relative luminance 0.077; OKLCH L 43.0% C 0.048 H 323.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5D475F
RGBrgb(93, 71, 95)
HSLhsl(295, 14%, 33%)
HSVhsv(295, 25%, 37%)
CMYKcmyk(2.1%, 25.3%, 0%, 62.7%)
CIE-LABlab(33.26, 14.13, -10.52)
CIE-LCHlch(33.26, 17.61, 323.34°)
OKLaboklab(43.02% 0.0385 -0.0284)
OKLCHoklch(43.02% 0.048 323.6)
XYZxyz(8.8327, 7.6601, 11.8375)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D475F #495F47
analogous
#51475F #5D475F #5F4755
triadic
#5D475F #5F5D47 #475F5D
tetradic
#5D475F #5F5147 #495F47 #47555F
square
#5D475F #5F5147 #495F47 #47555F
split-complementary
#5D475F #555F47 #475F51
monochromatic
#181319 #3B2D3C #5D475F #7F6182 #9E80A0

Accessibility & contrast

On white

8.29
#5D475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D475F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D475F#FFFFFF#000000##FFFFFF
##5D475F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#4A4F5E
Tritanopia (blue-blind)
#5E494F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d475f;
/* rgb */ color: rgb(93, 71, 95);
/* oklch */ color: oklch(43.0% 0.048 323.6);
Tailwind
colors: {
  custom: {
    50: '#8b7a8c',
    500: '#5d475f',
    950: '#000000',
  },
}
SCSS
$custom: #5d475f;
$custom-light: #8b7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d475f",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 295,
    "s": 14.458,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.04783,
    "h": 323.6
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#5D475F
secondary
#768E74
accent
#B77176
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C090C
muted
#7D7B7D

Preview Lab

Preview with #5D475F

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

Preview Lab → · Contrast checker → · Palette generator →

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