#5E137C#5E137C

#5E137C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.166 H 313.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#5E137C
RGBrgb(94, 19, 124)
HSLhsl(283, 73%, 28%)
HSVhsv(283, 85%, 49%)
CMYKcmyk(24.2%, 84.7%, 0%, 51.4%)
CIE-LABlab(24.64, 48.29, -42.56)
CIE-LCHlch(24.64, 64.37, 318.61°)
OKLaboklab(37.23% 0.1141 -0.1205)
OKLCHoklch(37.23% 0.166 313.4)
XYZxyz(8.4864, 4.3009, 19.4480)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E137C #317C13
analogous
#29137C #5E137C #7C1365
triadic
#5E137C #7C5E13 #137C5E
tetradic
#5E137C #7C2913 #317C13 #13657C
square
#5E137C #7C2913 #317C13 #13657C
split-complementary
#5E137C #657C13 #137C29
monochromatic
#14041B #360B47 #5E137C #861BB1 #AB2BDF

Accessibility & contrast

On white

11.29
#5E137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E137C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E137C#FFFFFF#000000##FFFFFF
##5E137C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#5B2E49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e137c;
/* rgb */ color: rgb(94, 19, 124);
/* oklch */ color: oklch(37.2% 0.166 313.4);
Tailwind
colors: {
  custom: {
    50: '#905ca3',
    500: '#5e137c',
    950: '#000000',
  },
}
SCSS
$custom: #5e137c;
$custom-light: #905ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e137c",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 282.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.16594,
    "h": 313.4
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#5E137C
secondary
#5CB239
accent
#F0386C
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E137C

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

Preview Lab → · Contrast checker → · Palette generator →

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