#5D356A#5D356A

#5D356A is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.1% C 0.098 H 317.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5D356A
RGBrgb(93, 53, 106)
HSLhsl(285, 33%, 31%)
HSVhsv(285, 50%, 42%)
CMYKcmyk(12.3%, 50%, 0%, 58.4%)
CIE-LABlab(29.20, 27.81, -23.82)
CIE-LCHlch(29.20, 36.61, 319.42°)
OKLaboklab(40.11% 0.0718 -0.066)
OKLCHoklch(40.11% 0.098 317.4)
XYZxyz(8.3885, 5.9142, 14.3326)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D356A #426A35
analogous
#42356A #5D356A #6A355C
triadic
#5D356A #6A5D35 #356A5D
tetradic
#5D356A #6A4235 #426A35 #355C6A
square
#5D356A #6A4235 #426A35 #355C6A
split-complementary
#5D356A #5C6A35 #356A42
monochromatic
#150C18 #392141 #5D356A #814993 #A067B3

Accessibility & contrast

On white

9.62
#5D356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D356A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D356A#FFFFFF#000000##FFFFFF
##5D356A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#5D3C4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d356a;
/* rgb */ color: rgb(93, 53, 106);
/* oklch */ color: oklch(40.1% 0.098 317.4);
Tailwind
colors: {
  custom: {
    50: '#8c6d95',
    500: '#5d356a',
    950: '#000000',
  },
}
SCSS
$custom: #5d356a;
$custom-light: #8c6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d356a",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 285.283,
    "s": 33.333,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40108,
    "c": 0.09751,
    "h": 317.4
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#5D356A
secondary
#6E9B60
accent
#C95E79
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D356A

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

Preview Lab → · Contrast checker → · Palette generator →

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