#5E137E#5E137E

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

Color values

HEX#5E137E
RGBrgb(94, 19, 126)
HSLhsl(282, 74%, 28%)
HSVhsv(282, 85%, 49%)
CMYKcmyk(25.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(24.80, 48.72, -43.57)
CIE-LCHlch(24.80, 65.36, 318.19°)
OKLaboklab(37.39% 0.1136 -0.1234)
OKLCHoklch(37.39% 0.168 312.6)
XYZxyz(8.6142, 4.3520, 20.1209)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E137E #337E13
analogous
#28137E #5E137E #7E1368
triadic
#5E137E #7E5E13 #137E5E
tetradic
#5E137E #7E2813 #337E13 #13687E
square
#5E137E #7E2813 #337E13 #13687E
split-complementary
#5E137E #687E13 #137E28
monochromatic
#14041B #360B49 #5E137E #861BB3 #AA2CDF

Accessibility & contrast

On white

11.23
#5E137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E137E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E137E#FFFFFF#000000##FFFFFF
##5E137E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#5A2F4A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e137e;
/* rgb */ color: rgb(94, 19, 126);
/* oklch */ color: oklch(37.4% 0.168 312.6);
Tailwind
colors: {
  custom: {
    50: '#905ca4',
    500: '#5e137e',
    950: '#000000',
  },
}
SCSS
$custom: #5e137e;
$custom-light: #905ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e137e",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 282.056,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37388,
    "c": 0.16777,
    "h": 312.6
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#5E137E
secondary
#5EB439
accent
#F0376F
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E137E

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

Preview Lab → · Contrast checker → · Palette generator →

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