#5E145B#5E145B

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

Color values

HEX#5E145B
RGBrgb(94, 20, 91)
HSLhsl(302, 65%, 22%)
HSVhsv(302, 79%, 37%)
CMYKcmyk(0%, 78.7%, 3.2%, 63.1%)
CIE-LABlab(22.43, 41.46, -24.70)
CIE-LCHlch(22.43, 48.26, 329.22°)
OKLaboklab(34.92% 0.1172 -0.0682)
OKLCHoklch(34.92% 0.136 329.8)
XYZxyz(6.7545, 3.6358, 10.2415)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E145B #145E17
analogous
#3C145E #5E145B #5E1436
triadic
#5E145B #5B5E14 #145B5E
tetradic
#5E145B #5E3C14 #145E17 #14365E
square
#5E145B #5E3C14 #145E17 #14365E
split-complementary
#5E145B #365E14 #145E3C
monochromatic
#190518 #2C092A #5E145B #901F8C #C329BD

Accessibility & contrast

On white

12.16
#5E145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E145B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E145B#FFFFFF#000000##FFFFFF
##5E145B1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5D
Deuteranopia (green-blind)
#2A3959
Tritanopia (blue-blind)
#621E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e145b;
/* rgb */ color: rgb(94, 20, 91);
/* oklch */ color: oklch(34.9% 0.136 329.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b8a',
    500: '#5e145b',
    950: '#000000',
  },
}
SCSS
$custom: #5e145b;
$custom-light: #8f5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e145b",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 302.432,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.13561,
    "h": 329.8
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#5E145B
secondary
#38963C
accent
#E84740
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E145B

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

Preview Lab → · Contrast checker → · Palette generator →

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