#5E216B#5E216B

#5E216B is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.3% C 0.133 H 320.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#5E216B
RGBrgb(94, 33, 107)
HSLhsl(289, 53%, 27%)
HSVhsv(289, 69%, 42%)
CMYKcmyk(12.1%, 69.2%, 0%, 58%)
CIE-LABlab(25.35, 39.18, -30.53)
CIE-LCHlch(25.35, 49.67, 322.07°)
OKLaboklab(37.34% 0.1022 -0.0853)
OKLCHoklch(37.34% 0.133 320.1)
XYZxyz(7.8135, 4.5293, 14.3697)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E216B #2E6B21
analogous
#39216B #5E216B #6B2153
triadic
#5E216B #6B5E21 #216B5E
tetradic
#5E216B #6B3921 #2E6B21 #21536B
square
#5E216B #6B3921 #2E6B21 #21536B
split-complementary
#5E216B #536B21 #216B39
monochromatic
#150717 #35133C #5E216B #872F9A #AE42C5

Accessibility & contrast

On white

11.02
#5E216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E216B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E216B#FFFFFF#000000##FFFFFF
##5E216B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386D
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#5E2E43
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e216b;
/* rgb */ color: rgb(94, 33, 107);
/* oklch */ color: oklch(37.3% 0.133 320.1);
Tailwind
colors: {
  custom: {
    50: '#8e6196',
    500: '#5e216b',
    950: '#000000',
  },
}
SCSS
$custom: #5e216b;
$custom-light: #8e6196;
$custom-dark: #000000;
JSON
{
  "hex": "#5e216b",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 289.459,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3734,
    "c": 0.13312,
    "h": 320.1
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#5E216B
secondary
#589F49
accent
#DC4C65
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5E216B

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

Preview Lab → · Contrast checker → · Palette generator →

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