#5D137C#5D137C

#5D137C is a dark, vivid purple. Relative luminance 0.042; OKLCH L 37.1% C 0.166 H 312.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#5D137C
RGBrgb(93, 19, 124)
HSLhsl(282, 73%, 28%)
HSVhsv(282, 85%, 49%)
CMYKcmyk(25%, 84.7%, 0%, 51.4%)
CIE-LABlab(24.48, 48.11, -42.84)
CIE-LCHlch(24.48, 64.42, 318.32°)
OKLaboklab(37.08% 0.1127 -0.1213)
OKLCHoklch(37.08% 0.166 312.9)
XYZxyz(8.3845, 4.2484, 19.4432)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D137C #327C13
analogous
#29137C #5D137C #7C1366
triadic
#5D137C #7C5D13 #137C5D
tetradic
#5D137C #7C2913 #327C13 #13667C
square
#5D137C #7C2913 #327C13 #13667C
split-complementary
#5D137C #667C13 #137C29
monochromatic
#14041B #350B47 #5D137C #851BB1 #A92BDF

Accessibility & contrast

On white

11.35
#5D137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5D137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D137C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D137C#FFFFFF#000000##FFFFFF
##5D137C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#592E49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d137c;
/* rgb */ color: rgb(93, 19, 124);
/* oklch */ color: oklch(37.1% 0.166 312.9);
Tailwind
colors: {
  custom: {
    50: '#8f5ca3',
    500: '#5d137c',
    950: '#000000',
  },
}
SCSS
$custom: #5d137c;
$custom-light: #8f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d137c",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 282.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37077,
    "c": 0.16561,
    "h": 312.9
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#5D137C
secondary
#5DB239
accent
#F0386E
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5D137C

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

Preview Lab → · Contrast checker → · Palette generator →

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