#5E147F#5E147F

#5E147F is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.168 H 312.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#5E147F
RGBrgb(94, 20, 127)
HSLhsl(281, 73%, 29%)
HSVhsv(281, 84%, 50%)
CMYKcmyk(26%, 84.3%, 0%, 50.2%)
CIE-LABlab(24.99, 48.62, -43.90)
CIE-LCHlch(24.99, 65.50, 317.92°)
OKLaboklab(37.55% 0.1126 -0.1244)
OKLCHoklch(37.55% 0.168 312.2)
XYZxyz(8.6963, 4.4126, 20.4682)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E147F #357F14
analogous
#29147F #5E147F #7F146B
triadic
#5E147F #7F5E14 #147F5E
tetradic
#5E147F #7F2914 #357F14 #146B7F
square
#5E147F #7F2914 #357F14 #146B7F
split-complementary
#5E147F #6B7F14 #147F29
monochromatic
#14041A #370C4A #5E147F #851CB4 #A82FDE

Accessibility & contrast

On white

11.16
#5E147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5E147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E147F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E147F#FFFFFF#000000##FFFFFF
##5E147F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#5A304B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e147f;
/* rgb */ color: rgb(94, 20, 127);
/* oklch */ color: oklch(37.5% 0.168 312.2);
Tailwind
colors: {
  custom: {
    50: '#905da5',
    500: '#5e147f',
    950: '#000000',
  },
}
SCSS
$custom: #5e147f;
$custom-light: #905da5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e147f",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 281.495,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37545,
    "c": 0.16781,
    "h": 312.2
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#5E147F
secondary
#60B43B
accent
#EF3871
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E147F

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

Preview Lab → · Contrast checker → · Palette generator →

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