#5D346C#5D346C

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

Color values

HEX#5D346C
RGBrgb(93, 52, 108)
HSLhsl(284, 35%, 31%)
HSVhsv(284, 52%, 42%)
CMYKcmyk(13.9%, 51.9%, 0%, 57.6%)
CIE-LABlab(29.07, 28.87, -25.29)
CIE-LCHlch(29.07, 38.38, 318.78°)
OKLaboklab(40.05% 0.0737 -0.0702)
OKLCHoklch(40.05% 0.102 316.4)
XYZxyz(8.4486, 5.8661, 14.8717)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D346C #436C34
analogous
#41346C #5D346C #6C345F
triadic
#5D346C #6C5D34 #346C5D
tetradic
#5D346C #6C4134 #436C34 #345F6C
square
#5D346C #6C4134 #436C34 #345F6C
split-complementary
#5D346C #5F6C34 #346C41
monochromatic
#160C19 #392043 #5D346C #814895 #A065B5

Accessibility & contrast

On white

9.66
#5D346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D346C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D346C#FFFFFF#000000##FFFFFF
##5D346C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426E
Deuteranopia (green-blind)
#35466A
Tritanopia (blue-blind)
#5C3C4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d346c;
/* rgb */ color: rgb(93, 52, 108);
/* oklch */ color: oklch(40.1% 0.102 316.4);
Tailwind
colors: {
  custom: {
    50: '#8c6d96',
    500: '#5d346c',
    950: '#000000',
  },
}
SCSS
$custom: #5d346c;
$custom-light: #8c6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#5d346c",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 283.929,
    "s": 35,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.1018,
    "h": 316.4
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#5D346C
secondary
#709D5F
accent
#CB5D7A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D346C

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

Preview Lab → · Contrast checker → · Palette generator →

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