#5E135D#5E135D

#5E135D is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.138 H 328.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#5E135D
RGBrgb(94, 19, 93)
HSLhsl(301, 66%, 22%)
HSVhsv(301, 80%, 37%)
CMYKcmyk(0%, 79.8%, 1.1%, 63.1%)
CIE-LABlab(22.43, 42.17, -26.02)
CIE-LCHlch(22.43, 49.55, 328.32°)
OKLaboklab(34.96% 0.1182 -0.0721)
OKLCHoklch(34.96% 0.138 328.6)
XYZxyz(6.8247, 3.6363, 10.6962)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E135D #135E14
analogous
#3A135E #5E135D #5E1338
triadic
#5E135D #5D5E13 #135D5E
tetradic
#5E135D #5E3A13 #135E14 #13385E
square
#5E135D #5E3A13 #135E14 #13385E
split-complementary
#5E135D #385E13 #135E3A
monochromatic
#190519 #2B092B #5E135D #911D8F #C428C2

Accessibility & contrast

On white

12.16
#5E135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E135D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E135D#FFFFFF#000000##FFFFFF
##5E135D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#611F37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e135d;
/* rgb */ color: rgb(94, 19, 93);
/* oklch */ color: oklch(35.0% 0.138 328.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a8b',
    500: '#5e135d',
    950: '#000000',
  },
}
SCSS
$custom: #5e135d;
$custom-light: #8f5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e135d",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 300.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.13843,
    "h": 328.6
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#5E135D
secondary
#379638
accent
#E9413F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E135D

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

Preview Lab → · Contrast checker → · Palette generator →

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