#5E135F#5E135F

#5E135F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.140 H 327.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#5E135F
RGBrgb(94, 19, 95)
HSLhsl(299, 67%, 22%)
HSVhsv(299, 80%, 37%)
CMYKcmyk(1.1%, 80%, 0%, 62.7%)
CIE-LABlab(22.56, 42.53, -27.15)
CIE-LCHlch(22.56, 50.46, 327.45°)
OKLaboklab(35.09% 0.1182 -0.0753)
OKLCHoklch(35.09% 0.14 327.5)
XYZxyz(6.9144, 3.6722, 11.1689)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E135F #145F13
analogous
#38135F #5E135F #5F133A
triadic
#5E135F #5F5E13 #135F5E
tetradic
#5E135F #5F3813 #145F13 #133A5F
square
#5E135F #5F3813 #145F13 #133A5F
split-complementary
#5E135F #3A5F13 #135F38
monochromatic
#19051A #2C092C #5E135F #901D92 #C327C5

Accessibility & contrast

On white

12.11
#5E135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E135F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E135F#FFFFFF#000000##FFFFFF
##5E135F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023061
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#612038
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e135f;
/* rgb */ color: rgb(94, 19, 95);
/* oklch */ color: oklch(35.1% 0.140 327.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a8d',
    500: '#5e135f',
    950: '#000000',
  },
}
SCSS
$custom: #5e135f;
$custom-light: #8f5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e135f",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 299.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.14014,
    "h": 327.5
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#5E135F
secondary
#389737
accent
#EA3E40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E135F

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

Preview Lab → · Contrast checker → · Palette generator →

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