#5D3665#5D3665

#5D3665 is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.0% C 0.090 H 320.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5D3665
RGBrgb(93, 54, 101)
HSLhsl(290, 30%, 30%)
HSVhsv(290, 47%, 40%)
CMYKcmyk(7.9%, 46.5%, 0%, 60.4%)
CIE-LABlab(29.17, 26.06, -20.64)
CIE-LCHlch(29.17, 33.25, 321.62°)
OKLaboklab(40.01% 0.0693 -0.0568)
OKLCHoklch(40.01% 0.09 320.6)
XYZxyz(8.1820, 5.9054, 13.0182)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3665 #3E6536
analogous
#453665 #5D3665 #653655
triadic
#5D3665 #655D36 #36655D
tetradic
#5D3665 #654536 #3E6536 #365565
square
#5D3665 #654536 #3E6536 #365565
split-complementary
#5D3665 #556536 #366545
monochromatic
#140B15 #38213D #5D3665 #824B8D #A267AE

Accessibility & contrast

On white

9.63
#5D3665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D3665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3665
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3665#FFFFFF#000000##FFFFFF
##5D36651.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#3A4664
Tritanopia (blue-blind)
#5E3C48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d3665;
/* rgb */ color: rgb(93, 54, 101);
/* oklch */ color: oklch(40.0% 0.090 320.6);
Tailwind
colors: {
  custom: {
    50: '#8c6e91',
    500: '#5d3665',
    950: '#000000',
  },
}
SCSS
$custom: #5d3665;
$custom-light: #8c6e91;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3665",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 101
  },
  "hsl": {
    "h": 289.787,
    "s": 30.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.0896,
    "h": 320.6
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#5D3665
secondary
#6A9661
accent
#C76172
background
#F8F6F8
surface
#F0ECF0
border
#CBC7CB
text
#0C070C
muted
#7D7A7D

Preview Lab

Preview with #5D3665

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

Preview Lab → · Contrast checker → · Palette generator →

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