#5D216E#5D216E

#5D216E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.4% C 0.136 H 318.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#5D216E
RGBrgb(93, 33, 110)
HSLhsl(287, 54%, 28%)
HSVhsv(287, 70%, 43%)
CMYKcmyk(15.5%, 70%, 0%, 56.9%)
CIE-LABlab(25.38, 39.57, -32.42)
CIE-LCHlch(25.38, 51.15, 320.67°)
OKLaboklab(37.4% 0.1008 -0.0909)
OKLCHoklch(37.4% 0.136 318)
XYZxyz(7.8721, 4.5410, 15.2107)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D216E #326E21
analogous
#36216E #5D216E #6E2158
triadic
#5D216E #6E5D21 #216E5D
tetradic
#5D216E #6E3621 #326E21 #21586E
square
#5D216E #6E3621 #326E21 #21586E
split-complementary
#5D216E #586E21 #216E36
monochromatic
#140718 #35133F #5D216E #852F9D #A943C7

Accessibility & contrast

On white

11.01
#5D216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5D216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D216E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D216E#FFFFFF#000000##FFFFFF
##5D216E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023870
Deuteranopia (green-blind)
#243E6C
Tritanopia (blue-blind)
#5D2F44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d216e;
/* rgb */ color: rgb(93, 33, 110);
/* oklch */ color: oklch(37.4% 0.136 318.0);
Tailwind
colors: {
  custom: {
    50: '#8e6198',
    500: '#5d216e',
    950: '#000000',
  },
}
SCSS
$custom: #5d216e;
$custom-light: #8e6198;
$custom-dark: #000000;
JSON
{
  "hex": "#5d216e",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 286.753,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.13569,
    "h": 318
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#5D216E
secondary
#5DA249
accent
#DD4B6B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5D216E

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

Preview Lab → · Contrast checker → · Palette generator →

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