#5E1880#5E1880

#5E1880 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.165 H 311.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#5E1880
RGBrgb(94, 24, 128)
HSLhsl(280, 68%, 30%)
HSVhsv(280, 81%, 50%)
CMYKcmyk(26.6%, 81.3%, 0%, 49.8%)
CIE-LABlab(25.54, 47.48, -43.64)
CIE-LCHlch(25.54, 64.49, 317.41°)
OKLaboklab(37.95% 0.1091 -0.1237)
OKLCHoklch(37.95% 0.165 311.4)
XYZxyz(8.8383, 4.5917, 20.8386)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1880 #3A8018
analogous
#2A1880 #5E1880 #80186E
triadic
#5E1880 #805E18 #18805E
tetradic
#5E1880 #802A18 #3A8018 #186E80
square
#5E1880 #802A18 #3A8018 #186E80
split-complementary
#5E1880 #6E8018 #18802A
monochromatic
#13051A #380E4C #5E1880 #8422B4 #A539DA

Accessibility & contrast

On white

10.95
#5E1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1880
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1880#FFFFFF#000000##FFFFFF
##5E18801.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#5A324C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1880;
/* rgb */ color: rgb(94, 24, 128);
/* oklch */ color: oklch(38.0% 0.165 311.4);
Tailwind
colors: {
  custom: {
    50: '#905ea6',
    500: '#5e1880',
    950: '#000000',
  },
}
SCSS
$custom: #5e1880;
$custom-light: #905ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1880",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 280.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.16494,
    "h": 311.4
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#5E1880
secondary
#66B440
accent
#EB3D76
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1880

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

Preview Lab → · Contrast checker → · Palette generator →

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