#5E1457#5E1457

#5E1457 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.132 H 332.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#5E1457
RGBrgb(94, 20, 87)
HSLhsl(306, 65%, 22%)
HSVhsv(306, 79%, 37%)
CMYKcmyk(0%, 78.7%, 7.4%, 63.1%)
CIE-LABlab(22.19, 40.76, -22.41)
CIE-LCHlch(22.19, 46.51, 331.19°)
OKLaboklab(34.67% 0.1171 -0.0616)
OKLCHoklch(34.67% 0.132 332.2)
XYZxyz(6.5866, 3.5687, 9.3569)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1457 #145E1B
analogous
#40145E #5E1457 #5E1432
triadic
#5E1457 #575E14 #14575E
tetradic
#5E1457 #5E4014 #145E1B #14325E
square
#5E1457 #5E4014 #145E1B #14325E
split-complementary
#5E1457 #325E14 #145E40
monochromatic
#190517 #2C0928 #5E1457 #901F86 #C329B4

Accessibility & contrast

On white

12.25
#5E1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1457
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1457#FFFFFF#000000##FFFFFF
##5E14571.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1457;
/* rgb */ color: rgb(94, 20, 87);
/* oklch */ color: oklch(34.7% 0.132 332.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a86',
    500: '#5e1457',
    950: '#000000',
  },
}
SCSS
$custom: #5e1457;
$custom-light: #8f5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1457",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 305.676,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.13229,
    "h": 332.2
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#5E1457
secondary
#389641
accent
#E85040
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1457

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

Preview Lab → · Contrast checker → · Palette generator →

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