#5D216A#5D216A

#5D216A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.1% C 0.132 H 320.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#5D216A
RGBrgb(93, 33, 106)
HSLhsl(289, 53%, 27%)
HSVhsv(289, 69%, 42%)
CMYKcmyk(12.3%, 68.9%, 0%, 58.4%)
CIE-LABlab(25.12, 38.71, -30.26)
CIE-LCHlch(25.12, 49.13, 321.99°)
OKLaboklab(37.13% 0.1009 -0.0845)
OKLCHoklch(37.13% 0.132 320)
XYZxyz(7.6593, 4.4558, 14.0895)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D216A #2E6A21
analogous
#39216A #5D216A #6A2153
triadic
#5D216A #6A5D21 #216A5D
tetradic
#5D216A #6A3921 #2E6A21 #21536A
square
#5D216A #6A3921 #2E6A21 #21536A
split-complementary
#5D216A #536A21 #216A39
monochromatic
#140717 #34123B #5D216A #863099 #AD41C4

Accessibility & contrast

On white

11.11
#5D216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5D216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D216A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D216A#FFFFFF#000000##FFFFFF
##5D216A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376C
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#5D2E42
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d216a;
/* rgb */ color: rgb(93, 33, 106);
/* oklch */ color: oklch(37.1% 0.132 320.0);
Tailwind
colors: {
  custom: {
    50: '#8d6195',
    500: '#5d216a',
    950: '#000000',
  },
}
SCSS
$custom: #5d216a;
$custom-light: #8d6195;
$custom-dark: #000000;
JSON
{
  "hex": "#5d216a",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 289.315,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37125,
    "c": 0.13161,
    "h": 320
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#5D216A
secondary
#589E49
accent
#DC4C66
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5D216A

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

Preview Lab → · Contrast checker → · Palette generator →

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