#5E146E#5E146E

#5E146E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.152 H 319.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5E146E
RGBrgb(94, 20, 110)
HSLhsl(289, 69%, 25%)
HSVhsv(289, 82%, 43%)
CMYKcmyk(14.5%, 81.8%, 0%, 56.9%)
CIE-LABlab(23.69, 45.08, -35.13)
CIE-LCHlch(23.69, 57.15, 322.07°)
OKLaboklab(36.22% 0.116 -0.0987)
OKLCHoklch(36.22% 0.152 319.6)
XYZxyz(7.6804, 4.0062, 15.1175)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E146E #246E14
analogous
#31146E #5E146E #6E1451
triadic
#5E146E #6E5E14 #146E5E
tetradic
#5E146E #6E3114 #246E14 #14516E
square
#5E146E #6E3114 #246E14 #14516E
split-complementary
#5E146E #516E14 #146E31
monochromatic
#16051A #320B3A #5E146E #8A1DA2 #B727D6

Accessibility & contrast

On white

11.66
#5E146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E146E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E146E#FFFFFF#000000##FFFFFF
##5E146E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#1C3B6C
Tritanopia (blue-blind)
#5E2741
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e146e;
/* rgb */ color: rgb(94, 20, 110);
/* oklch */ color: oklch(36.2% 0.152 319.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c98',
    500: '#5e146e',
    950: '#000000',
  },
}
SCSS
$custom: #5e146e;
$custom-light: #8f5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e146e",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 289.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.15225,
    "h": 319.6
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#5E146E
secondary
#4CA539
accent
#EC3C5B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E146E

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

Preview Lab → · Contrast checker → · Palette generator →

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