#5E1777#5E1777

#5E1777 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.157 H 315.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#5E1777
RGBrgb(94, 23, 119)
HSLhsl(284, 68%, 28%)
HSVhsv(284, 81%, 47%)
CMYKcmyk(21%, 80.7%, 0%, 53.3%)
CIE-LABlab(24.72, 45.89, -39.26)
CIE-LCHlch(24.72, 60.39, 319.46°)
OKLaboklab(37.16% 0.1118 -0.1108)
OKLCHoklch(37.16% 0.157 315.3)
XYZxyz(8.2517, 4.3247, 17.8493)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1777 #307717
analogous
#2E1777 #5E1777 #771760
triadic
#5E1777 #775E17 #17775E
tetradic
#5E1777 #772E17 #307717 #176077
square
#5E1777 #772E17 #307717 #176077
split-complementary
#5E1777 #607717 #17772E
monochromatic
#14051A #350D44 #5E1777 #8721AA #AC31D7

Accessibility & contrast

On white

11.26
#5E1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1777
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1777#FFFFFF#000000##FFFFFF
##5E17771.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#133C75
Tritanopia (blue-blind)
#5C2D47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1777;
/* rgb */ color: rgb(94, 23, 119);
/* oklch */ color: oklch(37.2% 0.157 315.3);
Tailwind
colors: {
  custom: {
    50: '#8f5d9f',
    500: '#5e1777',
    950: '#000000',
  },
}
SCSS
$custom: #5e1777;
$custom-light: #8f5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1777",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 284.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.15742,
    "h": 315.3
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#5E1777
secondary
#5AAC3E
accent
#EA3D6A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1777

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

Preview Lab → · Contrast checker → · Palette generator →

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