#5E1482#5E1482

#5E1482 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.171 H 311.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#5E1482
RGBrgb(94, 20, 130)
HSLhsl(280, 73%, 29%)
HSVhsv(280, 85%, 51%)
CMYKcmyk(27.7%, 84.6%, 0%, 49%)
CIE-LABlab(25.24, 49.27, -45.39)
CIE-LCHlch(25.24, 66.99, 317.34°)
OKLaboklab(37.79% 0.1119 -0.1288)
OKLCHoklch(37.79% 0.171 311)
XYZxyz(8.8947, 4.4919, 21.5132)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1482 #388214
analogous
#271482 #5E1482 #82146F
triadic
#5E1482 #825E14 #14825E
tetradic
#5E1482 #822714 #388214 #146F82
square
#5E1482 #822714 #388214 #146F82
split-complementary
#5E1482 #6F8214 #148227
monochromatic
#13041B #380C4D #5E1482 #841CB7 #A631DF

Accessibility & contrast

On white

11.06
#5E1482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1482
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1482#FFFFFF#000000##FFFFFF
##5E14821.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#59314C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1482;
/* rgb */ color: rgb(94, 20, 130);
/* oklch */ color: oklch(37.8% 0.171 311.0);
Tailwind
colors: {
  custom: {
    50: '#905da7',
    500: '#5e1482',
    950: '#000000',
  },
}
SCSS
$custom: #5e1482;
$custom-light: #905da7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1482",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 280.364,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37792,
    "c": 0.17059,
    "h": 311
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#5E1482
secondary
#63B73B
accent
#F03874
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1482

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

Preview Lab → · Contrast checker → · Palette generator →

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