#5E136A#5E136A

#5E136A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.150 H 321.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5E136A
RGBrgb(94, 19, 106)
HSLhsl(292, 70%, 25%)
HSVhsv(292, 82%, 42%)
CMYKcmyk(11.3%, 82.1%, 0%, 58.4%)
CIE-LABlab(23.29, 44.62, -33.18)
CIE-LCHlch(23.29, 55.60, 323.37°)
OKLaboklab(35.85% 0.1174 -0.0929)
OKLCHoklch(35.85% 0.15 321.6)
XYZxyz(7.4502, 3.8865, 13.9906)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E136A #1F6A13
analogous
#33136A #5E136A #6A134B
triadic
#5E136A #6A5E13 #136A5E
tetradic
#5E136A #6A3313 #1F6A13 #134B6A
square
#5E136A #6A3313 #1F6A13 #134B6A
split-complementary
#5E136A #4B6A13 #136A33
monochromatic
#17051A #300A36 #5E136A #8C1C9E #BA26D2

Accessibility & contrast

On white

11.82
#5E136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E136A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E136A#FFFFFF#000000##FFFFFF
##5E136A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#5F253E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e136a;
/* rgb */ color: rgb(94, 19, 106);
/* oklch */ color: oklch(35.9% 0.150 321.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b95',
    500: '#5e136a',
    950: '#000000',
  },
}
SCSS
$custom: #5e136a;
$custom-light: #8f5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e136a",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 291.724,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.1497,
    "h": 321.6
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#5E136A
secondary
#46A138
accent
#EC3B54
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E136A

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

Preview Lab → · Contrast checker → · Palette generator →

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