#5D415E#5D415E

#5D415E is a dark, muted purple. Relative luminance 0.069; OKLCH L 41.7% C 0.059 H 325.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5D415E
RGBrgb(93, 65, 94)
HSLhsl(298, 18%, 31%)
HSVhsv(298, 31%, 37%)
CMYKcmyk(1.1%, 30.9%, 0%, 63.1%)
CIE-LABlab(31.62, 17.69, -12.38)
CIE-LCHlch(31.62, 21.60, 325.01°)
OKLaboklab(41.75% 0.0486 -0.0335)
OKLCHoklch(41.75% 0.059 325.4)
XYZxyz(8.4247, 6.9162, 11.4787)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D415E #425E41
analogous
#4E415E #5D415E #5E4150
triadic
#5D415E #5E5D41 #415E5D
tetradic
#5D415E #5E4E41 #425E41 #41505E
square
#5D415E #5E4E41 #425E41 #41505E
split-complementary
#5D415E #505E41 #415E4E
monochromatic
#150F16 #39283A #5D415E #815A82 #A078A2

Accessibility & contrast

On white

8.81
#5D415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5D415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D415E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D415E#FFFFFF#000000##FFFFFF
##5D415E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#454C5D
Tritanopia (blue-blind)
#5F444B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d415e;
/* rgb */ color: rgb(93, 65, 94);
/* oklch */ color: oklch(41.7% 0.059 325.4);
Tailwind
colors: {
  custom: {
    50: '#8b768b',
    500: '#5d415e',
    950: '#000000',
  },
}
SCSS
$custom: #5d415e;
$custom-light: #8b768b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d415e",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 297.931,
    "s": 18.239,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.05908,
    "h": 325.4
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#5D415E
secondary
#6E8D6D
accent
#BB6D70
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5D415E

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

Preview Lab → · Contrast checker → · Palette generator →

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