#5E145A#5E145A

#5E145A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.135 H 330.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5E145A
RGBrgb(94, 20, 90)
HSLhsl(303, 65%, 22%)
HSVhsv(303, 79%, 37%)
CMYKcmyk(0%, 78.7%, 4.3%, 63.1%)
CIE-LABlab(22.37, 41.28, -24.13)
CIE-LCHlch(22.37, 47.82, 329.69°)
OKLaboklab(34.86% 0.1172 -0.0666)
OKLCHoklch(34.86% 0.135 330.4)
XYZxyz(6.7117, 3.6187, 10.0159)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E145A #145E18
analogous
#3D145E #5E145A #5E1435
triadic
#5E145A #5A5E14 #145A5E
tetradic
#5E145A #5E3D14 #145E18 #14355E
square
#5E145A #5E3D14 #145E18 #14355E
split-complementary
#5E145A #355E14 #145E3D
monochromatic
#190518 #2C092A #5E145A #901F8A #C329BB

Accessibility & contrast

On white

12.18
#5E145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E145A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E145A#FFFFFF#000000##FFFFFF
##5E145A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#621E36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e145a;
/* rgb */ color: rgb(94, 20, 90);
/* oklch */ color: oklch(34.9% 0.135 330.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b89',
    500: '#5e145a',
    950: '#000000',
  },
}
SCSS
$custom: #5e145a;
$custom-light: #8f5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#5e145a",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 303.243,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34857,
    "c": 0.13477,
    "h": 330.4
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#5E145A
secondary
#38963D
accent
#E84940
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E145A

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

Preview Lab → · Contrast checker → · Palette generator →

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