#5E1356#5E1356

#5E1356 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.133 H 332.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5E1356
RGBrgb(94, 19, 86)
HSLhsl(306, 66%, 22%)
HSVhsv(306, 80%, 37%)
CMYKcmyk(0%, 79.8%, 8.5%, 63.1%)
CIE-LABlab(22.01, 40.94, -22.03)
CIE-LCHlch(22.01, 46.49, 331.71°)
OKLaboklab(34.52% 0.1181 -0.0605)
OKLCHoklch(34.52% 0.133 332.9)
XYZxyz(6.5287, 3.5179, 9.1375)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1356 #135E1B
analogous
#41135E #5E1356 #5E1331
triadic
#5E1356 #565E13 #13565E
tetradic
#5E1356 #5E4113 #135E1B #13315E
square
#5E1356 #5E4113 #135E1B #13315E
split-complementary
#5E1356 #315E13 #135E41
monochromatic
#190517 #2B0927 #5E1356 #911D85 #C428B3

Accessibility & contrast

On white

12.33
#5E1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1356
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1356#FFFFFF#000000##FFFFFF
##5E13561.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2E58
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#621B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1356;
/* rgb */ color: rgb(94, 19, 86);
/* oklch */ color: oklch(34.5% 0.133 332.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a86',
    500: '#5e1356',
    950: '#000000',
  },
}
SCSS
$custom: #5e1356;
$custom-light: #8f5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1356",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 306.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34523,
    "c": 0.13265,
    "h": 332.9
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#5E1356
secondary
#379641
accent
#E9513F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1356

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

Preview Lab → · Contrast checker → · Palette generator →

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