#5E215A#5E215A

#5E215A is a dark, moderate purple. Relative luminance 0.042; OKLCH L 36.3% C 0.117 H 330.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#5E215A
RGBrgb(94, 33, 90)
HSLhsl(304, 48%, 25%)
HSVhsv(304, 65%, 37%)
CMYKcmyk(0%, 64.9%, 4.3%, 63.1%)
CIE-LABlab(24.34, 35.75, -21.02)
CIE-LCHlch(24.34, 41.47, 329.54°)
OKLaboklab(36.28% 0.1013 -0.0577)
OKLCHoklch(36.28% 0.117 330.3)
XYZxyz(7.0054, 4.2061, 10.1138)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E215A #215E25
analogous
#43215E #5E215A #5E213C
triadic
#5E215A #5A5E21 #215A5E
tetradic
#5E215A #5E4321 #215E25 #213C5E
square
#5E215A #5E4321 #215E25 #213C5E
split-complementary
#5E215A #3C5E21 #215E43
monochromatic
#170816 #31112F #5E215A #8B3185 #B941B1

Accessibility & contrast

On white

11.41
#5E215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E215A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E215A#FFFFFF#000000##FFFFFF
##5E215A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345C
Deuteranopia (green-blind)
#313D58
Tritanopia (blue-blind)
#62273A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e215a;
/* rgb */ color: rgb(94, 33, 90);
/* oklch */ color: oklch(36.3% 0.117 330.3);
Tailwind
colors: {
  custom: {
    50: '#8e6189',
    500: '#5e215a',
    950: '#000000',
  },
}
SCSS
$custom: #5e215a;
$custom-light: #8e6189;
$custom-dark: #000000;
JSON
{
  "hex": "#5e215a",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 303.934,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.1166,
    "h": 330.3
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#5E215A
secondary
#49924D
accent
#D85950
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5E215A

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

Preview Lab → · Contrast checker → · Palette generator →

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