#5E1483#5E1483

#5E1483 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.9% C 0.172 H 310.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5E1483
RGBrgb(94, 20, 131)
HSLhsl(280, 74%, 30%)
HSVhsv(280, 85%, 51%)
CMYKcmyk(28.2%, 84.7%, 0%, 48.6%)
CIE-LABlab(25.32, 49.48, -45.89)
CIE-LCHlch(25.32, 67.49, 317.16°)
OKLaboklab(37.88% 0.1116 -0.1302)
OKLCHoklch(37.88% 0.172 310.6)
XYZxyz(8.9622, 4.5189, 21.8684)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1483 #398314
analogous
#271483 #5E1483 #831471
triadic
#5E1483 #835E14 #14835E
tetradic
#5E1483 #832714 #398314 #147183
square
#5E1483 #832714 #398314 #147183
split-complementary
#5E1483 #718314 #148327
monochromatic
#13041B #380C4E #5E1483 #841CB8 #A632E0

Accessibility & contrast

On white

11.03
#5E1483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5E1483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1483
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1483#FFFFFF#000000##FFFFFF
##5E14831.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#59314D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1483;
/* rgb */ color: rgb(94, 20, 131);
/* oklch */ color: oklch(37.9% 0.172 310.6);
Tailwind
colors: {
  custom: {
    50: '#905da8',
    500: '#5e1483',
    950: '#000000',
  },
}
SCSS
$custom: #5e1483;
$custom-light: #905da8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1483",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 280,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.17151,
    "h": 310.6
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#5E1483
secondary
#65B83B
accent
#F03875
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1483

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

Preview Lab → · Contrast checker → · Palette generator →

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