#5D356D#5D356D

#5D356D is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.3% C 0.101 H 315.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5D356D
RGBrgb(93, 53, 109)
HSLhsl(283, 35%, 32%)
HSVhsv(283, 51%, 43%)
CMYKcmyk(14.7%, 51.4%, 0%, 57.3%)
CIE-LABlab(29.36, 28.51, -25.48)
CIE-LCHlch(29.36, 38.23, 318.21°)
OKLaboklab(40.28% 0.0723 -0.0708)
OKLCHoklch(40.28% 0.101 315.6)
XYZxyz(8.5472, 5.9777, 15.1686)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D356D #456D35
analogous
#41356D #5D356D #6D3561
triadic
#5D356D #6D5D35 #356D5D
tetradic
#5D356D #6D4135 #456D35 #35616D
square
#5D356D #6D4135 #456D35 #35616D
split-complementary
#5D356D #616D35 #356D41
monochromatic
#170D1B #3A2144 #5D356D #804996 #9F67B5

Accessibility & contrast

On white

9.57
#5D356D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5D356D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D356D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D356D#FFFFFF#000000##FFFFFF
##5D356D1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#5C3D4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d356d;
/* rgb */ color: rgb(93, 53, 109);
/* oklch */ color: oklch(40.3% 0.101 315.6);
Tailwind
colors: {
  custom: {
    50: '#8c6e97',
    500: '#5d356d',
    950: '#000000',
  },
}
SCSS
$custom: #5d356d;
$custom-light: #8c6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#5d356d",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 109
  },
  "hsl": {
    "h": 282.857,
    "s": 34.568,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.10117,
    "h": 315.6
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#5D356D
secondary
#729E60
accent
#CB5D7C
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D356D

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

Preview Lab → · Contrast checker → · Palette generator →

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