#5D3A67#5D3A67

#5D3A67 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 40.8% C 0.084 H 318.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5D3A67
RGBrgb(93, 58, 103)
HSLhsl(287, 28%, 32%)
HSVhsv(287, 44%, 40%)
CMYKcmyk(9.7%, 43.7%, 0%, 59.6%)
CIE-LABlab(30.24, 24.08, -20.27)
CIE-LCHlch(30.24, 31.47, 319.91°)
OKLaboklab(40.84% 0.0631 -0.0558)
OKLCHoklch(40.84% 0.084 318.5)
XYZxyz(8.4751, 6.3328, 13.6052)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3A67 #44673A
analogous
#473A67 #5D3A67 #673A5B
triadic
#5D3A67 #675D3A #3A675D
tetradic
#5D3A67 #67473A #44673A #3A5B67
square
#5D3A67 #67473A #44673A #3A5B67
split-complementary
#5D3A67 #5B673A #3A6747
monochromatic
#160E19 #3A2440 #5D3A67 #80508E #9F6EAD

Accessibility & contrast

On white

9.26
#5D3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5D3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3A67
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3A67#FFFFFF#000000##FFFFFF
##5D3A671.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334569
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#5D404B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d3a67;
/* rgb */ color: rgb(93, 58, 103);
/* oklch */ color: oklch(40.8% 0.084 318.5);
Tailwind
colors: {
  custom: {
    50: '#8c7192',
    500: '#5d3a67',
    950: '#000000',
  },
}
SCSS
$custom: #5d3a67;
$custom-light: #8c7192;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3a67",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 286.667,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.08423,
    "h": 318.5
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#5D3A67
secondary
#719766
accent
#C46479
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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