#5E156E#5E156E

#5E156E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.151 H 319.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#5E156E
RGBrgb(94, 21, 110)
HSLhsl(289, 68%, 26%)
HSVhsv(289, 81%, 43%)
CMYKcmyk(14.5%, 80.9%, 0%, 56.9%)
CIE-LABlab(23.81, 44.74, -34.94)
CIE-LCHlch(23.81, 56.76, 322.01°)
OKLaboklab(36.31% 0.1151 -0.0981)
OKLCHoklch(36.31% 0.151 319.5)
XYZxyz(7.6984, 4.0422, 15.1235)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E156E #256E15
analogous
#31156E #5E156E #6E1551
triadic
#5E156E #6E5E15 #156E5E
tetradic
#5E156E #6E3115 #256E15 #15516E
square
#5E156E #6E3115 #256E15 #15516E
split-complementary
#5E156E #516E15 #156E31
monochromatic
#16051A #320B3B #5E156E #8A1FA1 #B629D5

Accessibility & contrast

On white

11.61
#5E156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E156E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E156E#FFFFFF#000000##FFFFFF
##5E156E1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#5E2841
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e156e;
/* rgb */ color: rgb(94, 21, 110);
/* oklch */ color: oklch(36.3% 0.151 319.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c98',
    500: '#5e156e',
    950: '#000000',
  },
}
SCSS
$custom: #5e156e;
$custom-light: #8f5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e156e",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 289.213,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.15121,
    "h": 319.5
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#5E156E
secondary
#4DA43A
accent
#EB3D5C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E156E

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

Preview Lab → · Contrast checker → · Palette generator →

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