#5F475C#5F475C

#5F475C is a dark, muted purple. Relative luminance 0.077; OKLCH L 43.1% C 0.046 H 330.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5F475C
RGBrgb(95, 71, 92)
HSLhsl(308, 14%, 33%)
HSVhsv(308, 25%, 37%)
CMYKcmyk(0%, 25.3%, 3.2%, 62.7%)
CIE-LABlab(33.38, 14.26, -8.42)
CIE-LCHlch(33.38, 16.55, 329.44°)
OKLaboklab(43.12% 0.04 -0.0225)
OKLCHoklch(43.12% 0.046 330.6)
XYZxyz(8.9041, 7.7123, 11.1427)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F475C #475F4A
analogous
#56475F #5F475C #5F4750
triadic
#5F475C #5C5F47 #475C5F
tetradic
#5F475C #5F5647 #475F4A #47505F
square
#5F475C #5F5647 #475F4A #47505F
split-complementary
#5F475C #505F47 #475F56
monochromatic
#191318 #3C2D3A #5F475C #82617E #A0809C

Accessibility & contrast

On white

8.26
#5F475C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5F475C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F475C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F475C#FFFFFF#000000##FFFFFF
##5F475C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5D
Deuteranopia (green-blind)
#4C505B
Tritanopia (blue-blind)
#61484E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f475c;
/* rgb */ color: rgb(95, 71, 92);
/* oklch */ color: oklch(43.1% 0.046 330.6);
Tailwind
colors: {
  custom: {
    50: '#8c7a8a',
    500: '#5f475c',
    950: '#000000',
  },
}
SCSS
$custom: #5f475c;
$custom-light: #8c7a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f475c",
  "rgb": {
    "r": 95,
    "g": 71,
    "b": 92
  },
  "hsl": {
    "h": 307.5,
    "s": 14.458,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.04594,
    "h": 330.6
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#5F475C
secondary
#748E77
accent
#B77971
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C090B
muted
#7D7B7C

Preview Lab

Preview with #5F475C

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

Preview Lab → · Contrast checker → · Palette generator →

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