#5E135C#5E135C

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

Color values

HEX#5E135C
RGBrgb(94, 19, 92)
HSLhsl(302, 66%, 22%)
HSVhsv(302, 80%, 37%)
CMYKcmyk(0%, 79.8%, 2.1%, 63.1%)
CIE-LABlab(22.37, 41.99, -25.46)
CIE-LCHlch(22.37, 49.10, 328.77°)
OKLaboklab(34.9% 0.1182 -0.0704)
OKLCHoklch(34.9% 0.138 329.2)
XYZxyz(6.7807, 3.6187, 10.4645)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E135C #135E15
analogous
#3B135E #5E135C #5E1337
triadic
#5E135C #5C5E13 #135C5E
tetradic
#5E135C #5E3B13 #135E15 #13375E
square
#5E135C #5E3B13 #135E15 #13375E
split-complementary
#5E135C #375E13 #135E3B
monochromatic
#190519 #2B092A #5E135C #911D8E #C428C0

Accessibility & contrast

On white

12.18
#5E135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E135C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E135C#FFFFFF#000000##FFFFFF
##5E135C1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#621E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e135c;
/* rgb */ color: rgb(94, 19, 92);
/* oklch */ color: oklch(34.9% 0.138 329.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a8a',
    500: '#5e135c',
    950: '#000000',
  },
}
SCSS
$custom: #5e135c;
$custom-light: #8f5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e135c",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 301.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34896,
    "c": 0.1376,
    "h": 329.2
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#5E135C
secondary
#379639
accent
#E9433F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E135C

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

Preview Lab → · Contrast checker → · Palette generator →

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