#5E1E77#5E1E77

#5E1E77 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.149 H 314.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1E77
RGBrgb(94, 30, 119)
HSLhsl(283, 60%, 29%)
HSVhsv(283, 75%, 47%)
CMYKcmyk(21%, 74.8%, 0%, 53.3%)
CIE-LABlab(25.68, 43.12, -37.70)
CIE-LCHlch(25.68, 57.28, 318.84°)
OKLaboklab(37.84% 0.1049 -0.1063)
OKLCHoklch(37.84% 0.149 314.6)
XYZxyz(8.4096, 4.6404, 17.9019)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E77 #37771E
analogous
#321E77 #5E1E77 #771E64
triadic
#5E1E77 #775E1E #1E775E
tetradic
#5E1E77 #77321E #37771E #1E6477
square
#5E1E77 #77321E #37771E #1E6477
split-complementary
#5E1E77 #64771E #1E7732
monochromatic
#130618 #371246 #5E1E77 #852AA8 #A740CF

Accessibility & contrast

On white

10.89
#5E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E77
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E77#FFFFFF#000000##FFFFFF
##5E1E771.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#1A3E75
Tritanopia (blue-blind)
#5C3148
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1e77;
/* rgb */ color: rgb(94, 30, 119);
/* oklch */ color: oklch(37.8% 0.149 314.6);
Tailwind
colors: {
  custom: {
    50: '#8f609f',
    500: '#5e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e77;
$custom-light: #8f609f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e77",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 283.146,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.14929,
    "h": 314.6
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#5E1E77
secondary
#62AB46
accent
#E34571
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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