#5E1480#5E1480

#5E1480 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.6% C 0.169 H 311.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#5E1480
RGBrgb(94, 20, 128)
HSLhsl(281, 73%, 29%)
HSVhsv(281, 84%, 50%)
CMYKcmyk(26.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(25.07, 48.83, -44.40)
CIE-LCHlch(25.07, 66.00, 317.73°)
OKLaboklab(37.63% 0.1124 -0.1259)
OKLCHoklch(37.63% 0.169 311.8)
XYZxyz(8.7618, 4.4388, 20.8131)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1480 #368014
analogous
#281480 #5E1480 #80146C
triadic
#5E1480 #805E14 #14805E
tetradic
#5E1480 #802814 #368014 #146C80
square
#5E1480 #802814 #368014 #146C80
split-complementary
#5E1480 #6C8014 #148028
monochromatic
#13041A #370C4B #5E1480 #851CB5 #A830DF

Accessibility & contrast

On white

11.12
#5E1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1480
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1480#FFFFFF#000000##FFFFFF
##5E14801.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#5A304B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1480;
/* rgb */ color: rgb(94, 20, 128);
/* oklch */ color: oklch(37.6% 0.169 311.8);
Tailwind
colors: {
  custom: {
    50: '#905da6',
    500: '#5e1480',
    950: '#000000',
  },
}
SCSS
$custom: #5e1480;
$custom-light: #905da6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1480",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 281.111,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37627,
    "c": 0.16874,
    "h": 311.8
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#5E1480
secondary
#61B53B
accent
#F03872
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1480

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

Preview Lab → · Contrast checker → · Palette generator →

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