#5E1167#5E1167

#5E1167 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.149 H 323.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#5E1167
RGBrgb(94, 17, 103)
HSLhsl(294, 72%, 24%)
HSVhsv(294, 83%, 40%)
CMYKcmyk(8.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(22.86, 44.68, -31.91)
CIE-LCHlch(22.86, 54.91, 324.46°)
OKLaboklab(35.48% 0.1194 -0.0892)
OKLCHoklch(35.48% 0.149 323.2)
XYZxyz(7.2645, 3.7603, 13.1725)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1167 #1A6711
analogous
#331167 #5E1167 #671145
triadic
#5E1167 #675E11 #11675E
tetradic
#5E1167 #673311 #1A6711 #114567
square
#5E1167 #673311 #1A6711 #114567
split-complementary
#5E1167 #456711 #116733
monochromatic
#18041A #2E0832 #5E1167 #8E1A9C #BE22D0

Accessibility & contrast

On white

11.99
#5E1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1167
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1167#FFFFFF#000000##FFFFFF
##5E11671.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#213965
Tritanopia (blue-blind)
#60233C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1167;
/* rgb */ color: rgb(94, 17, 103);
/* oklch */ color: oklch(35.5% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a93',
    500: '#5e1167',
    950: '#000000',
  },
}
SCSS
$custom: #5e1167;
$custom-light: #8f5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1167",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 293.721,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.14908,
    "h": 323.2
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#5E1167
secondary
#409F35
accent
#EE394C
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1167

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

Preview Lab → · Contrast checker → · Palette generator →

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