#5E137F#5E137F

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

Color values

HEX#5E137F
RGBrgb(94, 19, 127)
HSLhsl(282, 74%, 29%)
HSVhsv(282, 85%, 50%)
CMYKcmyk(26%, 85%, 0%, 50.2%)
CIE-LABlab(24.88, 48.93, -44.07)
CIE-LCHlch(24.88, 65.85, 317.99°)
OKLaboklab(37.47% 0.1134 -0.1249)
OKLCHoklch(37.47% 0.169 312.2)
XYZxyz(8.6790, 4.3780, 20.4624)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E137F #347F13
analogous
#28137F #5E137F #7F136A
triadic
#5E137F #7F5E13 #137F5E
tetradic
#5E137F #7F2813 #347F13 #136A7F
square
#5E137F #7F2813 #347F13 #136A7F
split-complementary
#5E137F #6A7F13 #137F28
monochromatic
#14041B #370B4A #5E137F #851BB4 #A92DE0

Accessibility & contrast

On white

11.20
#5E137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E137F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E137F#FFFFFF#000000##FFFFFF
##5E137F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e137f;
/* rgb */ color: rgb(94, 19, 127);
/* oklch */ color: oklch(37.5% 0.169 312.2);
Tailwind
colors: {
  custom: {
    50: '#905ca5',
    500: '#5e137f',
    950: '#000000',
  },
}
SCSS
$custom: #5e137f;
$custom-light: #905ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e137f",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 281.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.16869,
    "h": 312.2
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#5E137F
secondary
#5FB439
accent
#F13770
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E137F

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

Preview Lab → · Contrast checker → · Palette generator →

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