#5F415E#5F415E

#5F415E is a dark, moderate purple. Relative luminance 0.070; OKLCH L 42.0% C 0.061 H 327.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5F415E
RGBrgb(95, 65, 94)
HSLhsl(302, 19%, 31%)
HSVhsv(302, 32%, 37%)
CMYKcmyk(0%, 31.6%, 1.1%, 62.7%)
CIE-LABlab(31.86, 18.45, -11.99)
CIE-LCHlch(31.86, 22.01, 326.97°)
OKLaboklab(41.99% 0.0513 -0.0324)
OKLCHoklch(41.99% 0.061 327.7)
XYZxyz(8.6298, 7.0219, 11.4883)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F415E #415F42
analogous
#51415F #5F415E #5F414F
triadic
#5F415E #5E5F41 #415E5F
tetradic
#5F415E #5F5141 #415F42 #414F5F
square
#5F415E #5F5141 #415F42 #414F5F
split-complementary
#5F415E #4F5F41 #415F51
monochromatic
#160F16 #3B283A #5F415E #835A82 #A378A1

Accessibility & contrast

On white

8.73
#5F415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5F415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F415E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F415E#FFFFFF#000000##FFFFFF
##5F415E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F495F
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#61434B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5f415e;
/* rgb */ color: rgb(95, 65, 94);
/* oklch */ color: oklch(42.0% 0.061 327.7);
Tailwind
colors: {
  custom: {
    50: '#8d768b',
    500: '#5f415e',
    950: '#000000',
  },
}
SCSS
$custom: #5f415e;
$custom-light: #8d768b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f415e",
  "rgb": {
    "r": 95,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 302,
    "s": 18.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.06066,
    "h": 327.7
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#5F415E
secondary
#6D8E6E
accent
#BB6F6C
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5F415E

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

Preview Lab → · Contrast checker → · Palette generator →

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