#5D327A#5D327A

#5D327A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 309.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5D327A
RGBrgb(93, 50, 122)
HSLhsl(276, 42%, 34%)
HSVhsv(276, 59%, 48%)
CMYKcmyk(23.8%, 59%, 0%, 52.2%)
CIE-LABlab(29.45, 33.41, -33.57)
CIE-LCHlch(29.45, 47.36, 314.86°)
OKLaboklab(40.59% 0.078 -0.0943)
OKLCHoklch(40.59% 0.122 309.6)
XYZxyz(9.1670, 6.0137, 19.0864)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D327A #4F7A32
analogous
#39327A #5D327A #7A3273
triadic
#5D327A #7A5D32 #327A5D
tetradic
#5D327A #7A3932 #4F7A32 #32737A
square
#5D327A #7A3932 #4F7A32 #32737A
split-complementary
#5D327A #737A32 #327A39
monochromatic
#1B0E23 #3C204F #5D327A #7E44A5 #9C66C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D327A#FFFFFF#000000##FFFFFF
##5D327A1.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)
#1A437C
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#593F51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d327a;
/* rgb */ color: rgb(93, 50, 122);
/* oklch */ color: oklch(40.6% 0.122 309.6);
Tailwind
colors: {
  custom: {
    50: '#8d6ca1',
    500: '#5d327a',
    950: '#000000',
  },
}
SCSS
$custom: #5d327a;
$custom-light: #8d6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d327a",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 275.833,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.12239,
    "h": 309.6
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#5D327A
secondary
#7DA860
accent
#D25688
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #5D327A

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

Preview Lab → · Contrast checker → · Palette generator →

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