#5D346A#5D346A

#5D346A is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.9% C 0.099 H 317.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5D346A
RGBrgb(93, 52, 106)
HSLhsl(286, 34%, 31%)
HSVhsv(286, 51%, 42%)
CMYKcmyk(12.3%, 50.9%, 0%, 58.4%)
CIE-LABlab(28.96, 28.40, -24.18)
CIE-LCHlch(28.96, 37.30, 319.59°)
OKLaboklab(39.94% 0.0734 -0.067)
OKLCHoklch(39.94% 0.099 317.6)
XYZxyz(8.3433, 5.8240, 14.3175)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D346A #416A34
analogous
#42346A #5D346A #6A345C
triadic
#5D346A #6A5D34 #346A5D
tetradic
#5D346A #6A4234 #416A34 #345C6A
square
#5D346A #6A4234 #416A34 #345C6A
split-complementary
#5D346A #5C6A34 #346A42
monochromatic
#150C18 #392041 #5D346A #814893 #A165B3

Accessibility & contrast

On white

9.70
#5D346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5D346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D346A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D346A#FFFFFF#000000##FFFFFF
##5D346A1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426C
Deuteranopia (green-blind)
#364668
Tritanopia (blue-blind)
#5D3C4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d346a;
/* rgb */ color: rgb(93, 52, 106);
/* oklch */ color: oklch(39.9% 0.099 317.6);
Tailwind
colors: {
  custom: {
    50: '#8c6d95',
    500: '#5d346a',
    950: '#000000',
  },
}
SCSS
$custom: #5d346a;
$custom-light: #8c6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d346a",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 285.556,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.09939,
    "h": 317.6
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#5D346A
secondary
#6D9B5F
accent
#CA5E78
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D346A

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

Preview Lab → · Contrast checker → · Palette generator →

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