#5E1776#5E1776

#5E1776 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.156 H 315.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#5E1776
RGBrgb(94, 23, 118)
HSLhsl(285, 67%, 28%)
HSVhsv(285, 81%, 46%)
CMYKcmyk(20.3%, 80.5%, 0%, 53.7%)
CIE-LABlab(24.64, 45.68, -38.74)
CIE-LCHlch(24.64, 59.90, 319.70°)
OKLaboklab(37.08% 0.112 -0.1093)
OKLCHoklch(37.08% 0.156 315.7)
XYZxyz(8.1920, 4.3008, 17.5346)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1776 #2F7617
analogous
#2E1776 #5E1776 #76175F
triadic
#5E1776 #765E17 #17765E
tetradic
#5E1776 #762E17 #2F7617 #175F76
square
#5E1776 #762E17 #2F7617 #175F76
split-complementary
#5E1776 #5F7617 #17762E
monochromatic
#14051A #350D43 #5E1776 #8721A9 #AD31D7

Accessibility & contrast

On white

11.29
#5E1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1776
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1776#FFFFFF#000000##FFFFFF
##5E17761.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#143C74
Tritanopia (blue-blind)
#5C2D46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1776;
/* rgb */ color: rgb(94, 23, 118);
/* oklch */ color: oklch(37.1% 0.156 315.7);
Tailwind
colors: {
  custom: {
    50: '#8f5d9e',
    500: '#5e1776',
    950: '#000000',
  },
}
SCSS
$custom: #5e1776;
$custom-light: #8f5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1776",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 284.842,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.15648,
    "h": 315.7
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#5E1776
secondary
#59AB3E
accent
#EA3E69
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1776

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

Preview Lab → · Contrast checker → · Palette generator →

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