#5E146D#5E146D

#5E146D is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.151 H 320.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#5E146D
RGBrgb(94, 20, 109)
HSLhsl(290, 69%, 25%)
HSVhsv(290, 82%, 43%)
CMYKcmyk(13.8%, 81.7%, 0%, 57.3%)
CIE-LABlab(23.62, 44.88, -34.60)
CIE-LCHlch(23.62, 56.67, 322.37°)
OKLaboklab(36.15% 0.1161 -0.0971)
OKLCHoklch(36.15% 0.151 320.1)
XYZxyz(7.6262, 3.9845, 14.8324)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E146D #236D14
analogous
#32146D #5E146D #6D144F
triadic
#5E146D #6D5E14 #146D5E
tetradic
#5E146D #6D3214 #236D14 #144F6D
square
#5E146D #6D3214 #236D14 #144F6D
split-complementary
#5E146D #4F6D14 #146D32
monochromatic
#16051A #310B39 #5E146D #8B1DA1 #B727D4

Accessibility & contrast

On white

11.69
#5E146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E146D
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E146D#FFFFFF#000000##FFFFFF
##5E146D1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#1D3B6B
Tritanopia (blue-blind)
#5E2740
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e146d;
/* rgb */ color: rgb(94, 20, 109);
/* oklch */ color: oklch(36.1% 0.151 320.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c97',
    500: '#5e146d',
    950: '#000000',
  },
}
SCSS
$custom: #5e146d;
$custom-light: #8f5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#5e146d",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 289.888,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.15135,
    "h": 320.1
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#5E146D
secondary
#4BA439
accent
#EC3C5A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E146D

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

Preview Lab → · Contrast checker → · Palette generator →

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