#5E216D#5E216D

#5E216D is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.135 H 319.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#5E216D
RGBrgb(94, 33, 109)
HSLhsl(288, 54%, 28%)
HSVhsv(288, 70%, 43%)
CMYKcmyk(13.8%, 69.7%, 0%, 57.3%)
CIE-LABlab(25.48, 39.60, -31.62)
CIE-LCHlch(25.48, 50.68, 321.40°)
OKLaboklab(37.48% 0.1022 -0.0885)
OKLCHoklch(37.48% 0.135 319.1)
XYZxyz(7.9199, 4.5719, 14.9303)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E216D #306D21
analogous
#38216D #5E216D #6D2156
triadic
#5E216D #6D5E21 #216D5E
tetradic
#5E216D #6D3821 #306D21 #21566D
square
#5E216D #6D3821 #306D21 #21566D
split-complementary
#5E216D #566D21 #216D38
monochromatic
#140717 #35133E #5E216D #872F9C #AC42C6

Accessibility & contrast

On white

10.97
#5E216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E216D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E216D#FFFFFF#000000##FFFFFF
##5E216D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#263E6B
Tritanopia (blue-blind)
#5E2F44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e216d;
/* rgb */ color: rgb(94, 33, 109);
/* oklch */ color: oklch(37.5% 0.135 319.1);
Tailwind
colors: {
  custom: {
    50: '#8e6297',
    500: '#5e216d',
    950: '#000000',
  },
}
SCSS
$custom: #5e216d;
$custom-light: #8e6297;
$custom-dark: #000000;
JSON
{
  "hex": "#5e216d",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 288.158,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37475,
    "c": 0.13514,
    "h": 319.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#5E216D
secondary
#5AA149
accent
#DD4B68
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050D
muted
#7D7A7E

Preview Lab

Preview with #5E216D

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

Preview Lab → · Contrast checker → · Palette generator →

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