#5E216F#5E216F

#5E216F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.6% C 0.137 H 318.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#5E216F
RGBrgb(94, 33, 111)
HSLhsl(287, 54%, 28%)
HSVhsv(287, 70%, 44%)
CMYKcmyk(15.3%, 70.3%, 0%, 56.5%)
CIE-LABlab(25.61, 40.03, -32.70)
CIE-LCHlch(25.61, 51.69, 320.76°)
OKLaboklab(37.61% 0.1021 -0.0916)
OKLCHoklch(37.61% 0.137 318.1)
XYZxyz(8.0288, 4.6154, 15.5038)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E216F #326F21
analogous
#37216F #5E216F #6F2159
triadic
#5E216F #6F5E21 #216F5E
tetradic
#5E216F #6F3721 #326F21 #21596F
square
#5E216F #6F3721 #326F21 #21596F
split-complementary
#5E216F #596F21 #216F37
monochromatic
#140718 #361340 #5E216F #862F9E #AA43C7

Accessibility & contrast

On white

10.92
#5E216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E216F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E216F#FFFFFF#000000##FFFFFF
##5E216F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#243F6D
Tritanopia (blue-blind)
#5E2F45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e216f;
/* rgb */ color: rgb(94, 33, 111);
/* oklch */ color: oklch(37.6% 0.137 318.1);
Tailwind
colors: {
  custom: {
    50: '#8e6299',
    500: '#5e216f',
    950: '#000000',
  },
}
SCSS
$custom: #5e216f;
$custom-light: #8e6299;
$custom-dark: #000000;
JSON
{
  "hex": "#5e216f",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 286.923,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.13717,
    "h": 318.1
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#5E216F
secondary
#5DA349
accent
#DE4A6A
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E216F

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

Preview Lab → · Contrast checker → · Palette generator →

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