#5E1352#5E1352

#5E1352 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.129 H 335.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5E1352
RGBrgb(94, 19, 82)
HSLhsl(310, 66%, 22%)
HSVhsv(310, 80%, 37%)
CMYKcmyk(0%, 79.8%, 12.8%, 63.1%)
CIE-LABlab(21.78, 40.27, -19.70)
CIE-LCHlch(21.78, 44.83, 333.93°)
OKLaboklab(34.29% 0.1178 -0.0538)
OKLCHoklch(34.29% 0.129 335.4)
XYZxyz(6.3720, 3.4552, 8.3123)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1352 #135E1F
analogous
#45135E #5E1352 #5E132D
triadic
#5E1352 #525E13 #13525E
tetradic
#5E1352 #5E4513 #135E1F #132D5E
square
#5E1352 #5E4513 #135E1F #132D5E
split-complementary
#5E1352 #2D5E13 #135E45
monochromatic
#190516 #2B0926 #5E1352 #911D7E #C428AB

Accessibility & contrast

On white

12.42
#5E1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1352
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1352#FFFFFF#000000##FFFFFF
##5E13521.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D54
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#631931
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1352;
/* rgb */ color: rgb(94, 19, 82);
/* oklch */ color: oklch(34.3% 0.129 335.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a83',
    500: '#5e1352',
    950: '#000000',
  },
}
SCSS
$custom: #5e1352;
$custom-light: #8f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1352",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 309.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.12947,
    "h": 335.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#5E1352
secondary
#379646
accent
#E95A3F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1352

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

Preview Lab → · Contrast checker → · Palette generator →

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