#5E145C#5E145C

#5E145C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.136 H 329.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5E145C
RGBrgb(94, 20, 92)
HSLhsl(302, 65%, 22%)
HSVhsv(302, 79%, 37%)
CMYKcmyk(0%, 78.7%, 2.1%, 63.1%)
CIE-LABlab(22.49, 41.64, -25.27)
CIE-LCHlch(22.49, 48.71, 328.75°)
OKLaboklab(34.98% 0.1172 -0.0699)
OKLCHoklch(34.98% 0.136 329.2)
XYZxyz(6.7980, 3.6532, 10.4702)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E145C #145E16
analogous
#3B145E #5E145C #5E1437
triadic
#5E145C #5C5E14 #145C5E
tetradic
#5E145C #5E3B14 #145E16 #14375E
square
#5E145C #5E3B14 #145E16 #14375E
split-complementary
#5E145C #375E14 #145E3B
monochromatic
#190519 #2C092B #5E145C #901F8D #C329BF

Accessibility & contrast

On white

12.13
#5E145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E145C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E145C#FFFFFF#000000##FFFFFF
##5E145C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5E
Deuteranopia (green-blind)
#2A395A
Tritanopia (blue-blind)
#621F37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e145c;
/* rgb */ color: rgb(94, 20, 92);
/* oklch */ color: oklch(35.0% 0.136 329.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b8a',
    500: '#5e145c',
    950: '#000000',
  },
}
SCSS
$custom: #5e145c;
$custom-light: #8f5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e145c",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 301.622,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34983,
    "c": 0.13646,
    "h": 329.2
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#5E145C
secondary
#38963B
accent
#E84440
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E145C

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

Preview Lab → · Contrast checker → · Palette generator →

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