#5E137D#5E137D

#5E137D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.167 H 313.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#5E137D
RGBrgb(94, 19, 125)
HSLhsl(282, 74%, 28%)
HSVhsv(282, 85%, 49%)
CMYKcmyk(24.8%, 84.8%, 0%, 51%)
CIE-LABlab(24.72, 48.51, -43.07)
CIE-LCHlch(24.72, 64.86, 318.40°)
OKLaboklab(37.31% 0.1139 -0.1219)
OKLCHoklch(37.31% 0.167 313)
XYZxyz(8.5500, 4.3264, 19.7827)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E137D #327D13
analogous
#29137D #5E137D #7D1367
triadic
#5E137D #7D5E13 #137D5E
tetradic
#5E137D #7D2913 #327D13 #13677D
square
#5E137D #7D2913 #327D13 #13677D
split-complementary
#5E137D #677D13 #137D29
monochromatic
#14041B #360B48 #5E137D #861BB2 #AA2CDF

Accessibility & contrast

On white

11.26
#5E137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E137D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E137D#FFFFFF#000000##FFFFFF
##5E137D1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#5A2E49
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e137d;
/* rgb */ color: rgb(94, 19, 125);
/* oklch */ color: oklch(37.3% 0.167 313.0);
Tailwind
colors: {
  custom: {
    50: '#905ca3',
    500: '#5e137d',
    950: '#000000',
  },
}
SCSS
$custom: #5e137d;
$custom-light: #905ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e137d",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 282.453,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.16685,
    "h": 313
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#5E137D
secondary
#5DB339
accent
#F0386E
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E137D

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

Preview Lab → · Contrast checker → · Palette generator →

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