#5E1380#5E1380

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

Color values

HEX#5E1380
RGBrgb(94, 19, 128)
HSLhsl(281, 74%, 29%)
HSVhsv(281, 85%, 50%)
CMYKcmyk(26.6%, 85.2%, 0%, 49.8%)
CIE-LABlab(24.97, 49.15, -44.57)
CIE-LCHlch(24.97, 66.35, 317.80°)
OKLaboklab(37.55% 0.1131 -0.1264)
OKLCHoklch(37.55% 0.17 311.8)
XYZxyz(8.7445, 4.4042, 20.8073)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1380 #358013
analogous
#271380 #5E1380 #80136C
triadic
#5E1380 #805E13 #13805E
tetradic
#5E1380 #802713 #358013 #136C80
square
#5E1380 #802713 #358013 #136C80
split-complementary
#5E1380 #6C8013 #138027
monochromatic
#14041B #370B4B #5E1380 #851BB5 #A82DE0

Accessibility & contrast

On white

11.17
#5E1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5E1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1380
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1380#FFFFFF#000000##FFFFFF
##5E13801.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.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: #5e1380;
/* rgb */ color: rgb(94, 19, 128);
/* oklch */ color: oklch(37.6% 0.170 311.8);
Tailwind
colors: {
  custom: {
    50: '#905ca6',
    500: '#5e1380',
    950: '#000000',
  },
}
SCSS
$custom: #5e1380;
$custom-light: #905ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1380",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 281.284,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.1696,
    "h": 311.8
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#5E1380
secondary
#60B539
accent
#F13771
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1380

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

Preview Lab → · Contrast checker → · Palette generator →

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