#5F4E5F#5F4E5F

#5F4E5F is a dark, muted purple. Relative luminance 0.087; OKLCH L 44.7% C 0.035 H 326.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5F4E5F
RGBrgb(95, 78, 95)
HSLhsl(300, 10%, 34%)
HSVhsv(300, 18%, 37%)
CMYKcmyk(0%, 17.9%, 0%, 62.7%)
CIE-LABlab(35.42, 10.49, -7.25)
CIE-LCHlch(35.42, 12.76, 325.35°)
OKLaboklab(44.73% 0.0289 -0.0194)
OKLCHoklch(44.73% 0.035 326.1)
XYZxyz(9.5090, 8.7081, 12.0042)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E5F #4E5F4E
analogous
#574E5F #5F4E5F #5F4E57
triadic
#5F4E5F #5F5F4E #4E5F5F
tetradic
#5F4E5F #5F574E #4E5F4E #4E575F
square
#5F4E5F #5F574E #4E5F4E #4E575F
split-complementary
#5F4E5F #575F4E #4E5F57
monochromatic
#1C171C #3D323D #5F4E5F #816A81 #9E899E

Accessibility & contrast

On white

7.66
#5F4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5F4E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E5F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E5F#FFFFFF#000000##FFFFFF
##5F4E5F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#51545E
Tritanopia (blue-blind)
#604F54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f4e5f;
/* rgb */ color: rgb(95, 78, 95);
/* oklch */ color: oklch(44.7% 0.035 326.1);
Tailwind
colors: {
  custom: {
    50: '#8c7f8c',
    500: '#5f4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e5f;
$custom-light: #8c7f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e5f",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 300,
    "s": 9.827,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.03482,
    "h": 326.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#5F4E5F
secondary
#7C8D7C
accent
#B37575
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0C0A0C
muted
#7D7C7D

Preview Lab

Preview with #5F4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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