#5E145D#5E145D

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

Color values

HEX#5E145D
RGBrgb(94, 20, 93)
HSLhsl(301, 65%, 22%)
HSVhsv(301, 79%, 37%)
CMYKcmyk(0%, 78.7%, 1.1%, 63.1%)
CIE-LABlab(22.55, 41.82, -25.83)
CIE-LCHlch(22.55, 49.16, 328.30°)
OKLaboklab(35.05% 0.1172 -0.0715)
OKLCHoklch(35.05% 0.137 328.6)
XYZxyz(6.8420, 3.6708, 10.7020)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E145D #145E15
analogous
#3A145E #5E145D #5E1438
triadic
#5E145D #5D5E14 #145D5E
tetradic
#5E145D #5E3A14 #145E15 #14385E
square
#5E145D #5E3A14 #145E15 #14385E
split-complementary
#5E145D #385E14 #145E3A
monochromatic
#190519 #2C092B #5E145D #901F8F #C329C1

Accessibility & contrast

On white

12.11
#5E145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E145D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E145D#FFFFFF#000000##FFFFFF
##5E145D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07305F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#611F37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e145d;
/* rgb */ color: rgb(94, 20, 93);
/* oklch */ color: oklch(35.0% 0.137 328.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b8b',
    500: '#5e145d',
    950: '#000000',
  },
}
SCSS
$custom: #5e145d;
$custom-light: #8f5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e145d",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 300.811,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.13731,
    "h": 328.6
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#5E145D
secondary
#389639
accent
#E84240
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E145D

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

Preview Lab → · Contrast checker → · Palette generator →

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