#5E135A#5E135A

#5E135A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.136 H 330.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#5E135A
RGBrgb(94, 19, 90)
HSLhsl(303, 66%, 22%)
HSVhsv(303, 80%, 37%)
CMYKcmyk(0%, 79.8%, 4.3%, 63.1%)
CIE-LABlab(22.25, 41.63, -24.32)
CIE-LCHlch(22.25, 48.22, 329.71°)
OKLaboklab(34.77% 0.1182 -0.0671)
OKLCHoklch(34.77% 0.136 330.4)
XYZxyz(6.6944, 3.5841, 10.0101)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E135A #135E17
analogous
#3D135E #5E135A #5E1335
triadic
#5E135A #5A5E13 #135A5E
tetradic
#5E135A #5E3D13 #135E17 #13355E
square
#5E135A #5E3D13 #135E17 #13355E
split-complementary
#5E135A #355E13 #135E3D
monochromatic
#190518 #2B0929 #5E135A #911D8B #C428BB

Accessibility & contrast

On white

12.23
#5E135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E135A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E135A#FFFFFF#000000##FFFFFF
##5E135A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#2A3958
Tritanopia (blue-blind)
#621D35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e135a;
/* rgb */ color: rgb(94, 19, 90);
/* oklch */ color: oklch(34.8% 0.136 330.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a89',
    500: '#5e135a',
    950: '#000000',
  },
}
SCSS
$custom: #5e135a;
$custom-light: #8f5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#5e135a",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 303.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.13593,
    "h": 330.4
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#5E135A
secondary
#37963C
accent
#E9483F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E135A

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

Preview Lab → · Contrast checker → · Palette generator →

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