#5E146A#5E146A

#5E146A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.149 H 321.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5E146A
RGBrgb(94, 20, 106)
HSLhsl(292, 68%, 25%)
HSVhsv(292, 81%, 42%)
CMYKcmyk(11.3%, 81.1%, 0%, 58.4%)
CIE-LABlab(23.41, 44.28, -32.99)
CIE-LCHlch(23.41, 55.22, 323.31°)
OKLaboklab(35.93% 0.1165 -0.0924)
OKLCHoklch(35.93% 0.149 321.6)
XYZxyz(7.4675, 3.9210, 13.9964)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E146A #206A14
analogous
#33146A #5E146A #6A144B
triadic
#5E146A #6A5E14 #146A5E
tetradic
#5E146A #6A3314 #206A14 #144B6A
square
#5E146A #6A3314 #206A14 #144B6A
split-complementary
#5E146A #4B6A14 #146A33
monochromatic
#17051A #300A37 #5E146A #8C1E9D #B927D1

Accessibility & contrast

On white

11.77
#5E146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E146A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E146A#FFFFFF#000000##FFFFFF
##5E146A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#203A68
Tritanopia (blue-blind)
#5F263F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e146a;
/* rgb */ color: rgb(94, 20, 106);
/* oklch */ color: oklch(35.9% 0.149 321.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b95',
    500: '#5e146a',
    950: '#000000',
  },
}
SCSS
$custom: #5e146a;
$custom-light: #8f5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e146a",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 291.628,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35932,
    "c": 0.14867,
    "h": 321.6
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#5E146A
secondary
#47A139
accent
#EB3D55
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E146A

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

Preview Lab → · Contrast checker → · Palette generator →

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