#5D326E#5D326E

#5D326E is a dark, moderate purple. Relative luminance 0.057; OKLCH L 39.8% C 0.108 H 315.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#5D326E
RGBrgb(93, 50, 110)
HSLhsl(283, 38%, 31%)
HSVhsv(283, 55%, 43%)
CMYKcmyk(15.5%, 54.5%, 0%, 56.9%)
CIE-LABlab(28.73, 30.51, -27.10)
CIE-LCHlch(28.73, 40.81, 318.39°)
OKLaboklab(39.84% 0.0771 -0.0755)
OKLCHoklch(39.84% 0.108 315.6)
XYZxyz(8.4688, 5.7344, 15.4096)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D326E #436E32
analogous
#3F326E #5D326E #6E3261
triadic
#5D326E #6E5D32 #326E5D
tetradic
#5D326E #6E3F32 #436E32 #32616E
square
#5D326E #6E3F32 #436E32 #32616E
split-complementary
#5D326E #616E32 #326E3F
monochromatic
#160C1A #391F44 #5D326E #814598 #A063B8

Accessibility & contrast

On white

9.78
#5D326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5D326E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D326E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D326E#FFFFFF#000000##FFFFFF
##5D326E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#5C3B4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d326e;
/* rgb */ color: rgb(93, 50, 110);
/* oklch */ color: oklch(39.8% 0.108 315.6);
Tailwind
colors: {
  custom: {
    50: '#8c6c98',
    500: '#5d326e',
    950: '#000000',
  },
}
SCSS
$custom: #5d326e;
$custom-light: #8c6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#5d326e",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 283,
    "s": 37.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.10786,
    "h": 315.6
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#5D326E
secondary
#709F5D
accent
#CD5A7B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D326E

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

Preview Lab → · Contrast checker → · Palette generator →

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