#5E1357#5E1357

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

Color values

HEX#5E1357
RGBrgb(94, 19, 87)
HSLhsl(306, 66%, 22%)
HSVhsv(306, 80%, 37%)
CMYKcmyk(0%, 79.8%, 7.4%, 63.1%)
CIE-LABlab(22.07, 41.11, -22.61)
CIE-LCHlch(22.07, 46.92, 331.19°)
OKLaboklab(34.58% 0.1181 -0.0622)
OKLCHoklch(34.58% 0.133 332.2)
XYZxyz(6.5693, 3.5341, 9.3511)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1357 #135E1A
analogous
#40135E #5E1357 #5E1332
triadic
#5E1357 #575E13 #13575E
tetradic
#5E1357 #5E4013 #135E1A #13325E
square
#5E1357 #5E4013 #135E1A #13325E
split-complementary
#5E1357 #325E13 #135E40
monochromatic
#190518 #2B0928 #5E1357 #911D86 #C428B5

Accessibility & contrast

On white

12.30
#5E1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1357
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1357#FFFFFF#000000##FFFFFF
##5E13571.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#2C3955
Tritanopia (blue-blind)
#621C34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1357;
/* rgb */ color: rgb(94, 19, 87);
/* oklch */ color: oklch(34.6% 0.133 332.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a86',
    500: '#5e1357',
    950: '#000000',
  },
}
SCSS
$custom: #5e1357;
$custom-light: #8f5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1357",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 305.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.13346,
    "h": 332.2
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#5E1357
secondary
#379640
accent
#E94E3F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1357

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

Preview Lab → · Contrast checker → · Palette generator →

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