#5D326A#5D326A

#5D326A is a dark, moderate purple. Relative luminance 0.056; OKLCH L 39.6% C 0.103 H 317.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#5D326A
RGBrgb(93, 50, 106)
HSLhsl(286, 36%, 31%)
HSVhsv(286, 53%, 42%)
CMYKcmyk(12.3%, 52.8%, 0%, 58.4%)
CIE-LABlab(28.51, 29.58, -24.89)
CIE-LCHlch(28.51, 38.66, 319.92°)
OKLaboklab(39.6% 0.0766 -0.0691)
OKLCHoklch(39.6% 0.103 317.9)
XYZxyz(8.2560, 5.6493, 14.2884)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D326A #3F6A32
analogous
#41326A #5D326A #6A325B
triadic
#5D326A #6A5D32 #326A5D
tetradic
#5D326A #6A4132 #3F6A32 #325B6A
square
#5D326A #6A4132 #3F6A32 #325B6A
split-complementary
#5D326A #5B6A32 #326A41
monochromatic
#140B17 #391E40 #5D326A #814694 #A162B5

Accessibility & contrast

On white

9.86
#5D326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5D326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D326A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D326A#FFFFFF#000000##FFFFFF
##5D326A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#344568
Tritanopia (blue-blind)
#5D3A49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d326a;
/* rgb */ color: rgb(93, 50, 106);
/* oklch */ color: oklch(39.6% 0.103 317.9);
Tailwind
colors: {
  custom: {
    50: '#8c6c95',
    500: '#5d326a',
    950: '#000000',
  },
}
SCSS
$custom: #5d326a;
$custom-light: #8c6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d326a",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 286.071,
    "s": 35.897,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.1031,
    "h": 317.9
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#5D326A
secondary
#6B9B5D
accent
#CC5C76
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D326A

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

Preview Lab → · Contrast checker → · Palette generator →

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