#5D366C#5D366C

#5D366C is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.4% C 0.098 H 316.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5D366C
RGBrgb(93, 54, 108)
HSLhsl(283, 33%, 32%)
HSVhsv(283, 50%, 42%)
CMYKcmyk(13.9%, 50%, 0%, 57.6%)
CIE-LABlab(29.53, 27.68, -24.56)
CIE-LCHlch(29.53, 37.00, 318.41°)
OKLaboklab(40.39% 0.0706 -0.0681)
OKLCHoklch(40.39% 0.098 316)
XYZxyz(8.5397, 6.0484, 14.9021)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D366C #456C36
analogous
#42366C #5D366C #6C3660
triadic
#5D366C #6C5D36 #366C5D
tetradic
#5D366C #6C4236 #456C36 #36606C
square
#5D366C #6C4236 #456C36 #36606C
split-complementary
#5D366C #606C36 #366C42
monochromatic
#170D1A #3A2243 #5D366C #804A95 #9F69B4

Accessibility & contrast

On white

9.50
#5D366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5D366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D366C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D366C#FFFFFF#000000##FFFFFF
##5D366C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#37476B
Tritanopia (blue-blind)
#5C3E4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d366c;
/* rgb */ color: rgb(93, 54, 108);
/* oklch */ color: oklch(40.4% 0.098 316.0);
Tailwind
colors: {
  custom: {
    50: '#8c6e96',
    500: '#5d366c',
    950: '#000000',
  },
}
SCSS
$custom: #5d366c;
$custom-light: #8c6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#5d366c",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 283.333,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40395,
    "c": 0.09808,
    "h": 316
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#5D366C
secondary
#729D61
accent
#C95E7C
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D366C

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

Preview Lab → · Contrast checker → · Palette generator →

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