#5E135E#5E135E

#5E135E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.139 H 328.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5E135E
RGBrgb(94, 19, 94)
HSLhsl(300, 66%, 22%)
HSVhsv(300, 80%, 37%)
CMYKcmyk(0%, 79.8%, 0%, 63.1%)
CIE-LABlab(22.49, 42.35, -26.59)
CIE-LCHlch(22.49, 50.00, 327.88°)
OKLaboklab(35.03% 0.1182 -0.0737)
OKLCHoklch(35.03% 0.139 328.1)
XYZxyz(6.8693, 3.6541, 10.9310)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E135E #135E13
analogous
#39135E #5E135E #5E1339
triadic
#5E135E #5E5E13 #135E5E
tetradic
#5E135E #5E3913 #135E13 #13395E
square
#5E135E #5E3913 #135E13 #13395E
split-complementary
#5E135E #395E13 #135E39
monochromatic
#190519 #2B092B #5E135E #911D91 #C428C4

Accessibility & contrast

On white

12.13
#5E135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E135E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E135E#FFFFFF#000000##FFFFFF
##5E135E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033060
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#611F38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e135e;
/* rgb */ color: rgb(94, 19, 94);
/* oklch */ color: oklch(35.0% 0.139 328.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a8c',
    500: '#5e135e',
    950: '#000000',
  },
}
SCSS
$custom: #5e135e;
$custom-light: #8f5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e135e",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.13929,
    "h": 328.1
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#5E135E
secondary
#379637
accent
#E93F3F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E135E

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

Preview Lab → · Contrast checker → · Palette generator →

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