#5E1374#5E1374

#5E1374 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.159 H 316.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5E1374
RGBrgb(94, 19, 116)
HSLhsl(286, 72%, 26%)
HSVhsv(286, 84%, 45%)
CMYKcmyk(19%, 83.6%, 0%, 54.5%)
CIE-LABlab(24.02, 46.63, -38.46)
CIE-LCHlch(24.02, 60.44, 320.48°)
OKLaboklab(36.6% 0.1158 -0.1084)
OKLCHoklch(36.6% 0.159 316.9)
XYZxyz(8.0009, 4.1067, 16.8908)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1374 #297413
analogous
#2E1374 #5E1374 #74135A
triadic
#5E1374 #745E13 #13745E
tetradic
#5E1374 #742E13 #297413 #135A74
square
#5E1374 #742E13 #297413 #135A74
split-complementary
#5E1374 #5A7413 #13742E
monochromatic
#15041A #330A3F #5E1374 #891CA9 #B226DB

Accessibility & contrast

On white

11.53
#5E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1374
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1374#FFFFFF#000000##FFFFFF
##5E13741.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#143B72
Tritanopia (blue-blind)
#5D2A44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1374;
/* rgb */ color: rgb(94, 19, 116);
/* oklch */ color: oklch(36.6% 0.159 316.9);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5e1374',
    950: '#000000',
  },
}
SCSS
$custom: #5e1374;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1374",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 286.392,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36595,
    "c": 0.15866,
    "h": 316.9
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#5E1374
secondary
#52AA38
accent
#EF3962
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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