#5E146B#5E146B

#5E146B is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.150 H 321.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5E146B
RGBrgb(94, 20, 107)
HSLhsl(291, 69%, 25%)
HSVhsv(291, 81%, 42%)
CMYKcmyk(12.1%, 81.3%, 0%, 58%)
CIE-LABlab(23.48, 44.48, -33.53)
CIE-LCHlch(23.48, 55.70, 322.99°)
OKLaboklab(36% 0.1164 -0.094)
OKLCHoklch(36% 0.15 321.1)
XYZxyz(7.5198, 3.9419, 14.2719)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E146B #216B14
analogous
#32146B #5E146B #6B144D
triadic
#5E146B #6B5E14 #146B5E
tetradic
#5E146B #6B3214 #216B14 #144D6B
square
#5E146B #6B3214 #216B14 #144D6B
split-complementary
#5E146B #4D6B14 #146B32
monochromatic
#17051A #310A37 #5E146B #8B1E9F #B927D2

Accessibility & contrast

On white

11.74
#5E146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E146B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E146B#FFFFFF#000000##FFFFFF
##5E146B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#1F3B69
Tritanopia (blue-blind)
#5F263F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e146b;
/* rgb */ color: rgb(94, 20, 107);
/* oklch */ color: oklch(36.0% 0.150 321.1);
Tailwind
colors: {
  custom: {
    50: '#8f5b96',
    500: '#5e146b',
    950: '#000000',
  },
}
SCSS
$custom: #5e146b;
$custom-light: #8f5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#5e146b",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 291.034,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.14956,
    "h": 321.1
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#5E146B
secondary
#49A239
accent
#EB3C57
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E146B

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

Preview Lab → · Contrast checker → · Palette generator →

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