#5D356F#5D356F

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

Color values

HEX#5D356F
RGBrgb(93, 53, 111)
HSLhsl(281, 35%, 32%)
HSVhsv(281, 52%, 44%)
CMYKcmyk(16.2%, 52.3%, 0%, 56.5%)
CIE-LABlab(29.47, 28.98, -26.58)
CIE-LCHlch(29.47, 39.32, 317.48°)
OKLaboklab(40.4% 0.0726 -0.074)
OKLCHoklch(40.4% 0.104 314.5)
XYZxyz(8.6561, 6.0213, 15.7421)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D356F #476F35
analogous
#40356F #5D356F #6F3564
triadic
#5D356F #6F5D35 #356F5D
tetradic
#5D356F #6F4035 #476F35 #35646F
square
#5D356F #6F4035 #476F35 #35646F
split-complementary
#5D356F #646F35 #356F40
monochromatic
#180D1C #3A2146 #5D356F #804998 #9E68B7

Accessibility & contrast

On white

9.53
#5D356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D356F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D356F#FFFFFF#000000##FFFFFF
##5D356F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#34476D
Tritanopia (blue-blind)
#5C3E4D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d356f;
/* rgb */ color: rgb(93, 53, 111);
/* oklch */ color: oklch(40.4% 0.104 314.5);
Tailwind
colors: {
  custom: {
    50: '#8c6e98',
    500: '#5d356f',
    950: '#000000',
  },
}
SCSS
$custom: #5d356f;
$custom-light: #8c6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5d356f",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 281.379,
    "s": 35.366,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.10362,
    "h": 314.5
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#5D356F
secondary
#749F60
accent
#CB5C7F
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #5D356F

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

Preview Lab → · Contrast checker → · Palette generator →

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