#5E1484#5E1484

#5E1484 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.172 H 310.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1484
RGBrgb(94, 20, 132)
HSLhsl(280, 74%, 30%)
HSVhsv(280, 85%, 52%)
CMYKcmyk(28.8%, 84.8%, 0%, 48.2%)
CIE-LABlab(25.40, 49.70, -46.38)
CIE-LCHlch(25.40, 67.98, 316.98°)
OKLaboklab(37.96% 0.1113 -0.1317)
OKLCHoklch(37.96% 0.172 310.2)
XYZxyz(9.0303, 4.5461, 22.2271)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1484 #3A8414
analogous
#261484 #5E1484 #841472
triadic
#5E1484 #845E14 #14845E
tetradic
#5E1484 #842614 #3A8414 #147284
square
#5E1484 #842614 #3A8414 #147284
split-complementary
#5E1484 #728414 #148426
monochromatic
#13041B #380C4F #5E1484 #841CB9 #A532E0

Accessibility & contrast

On white

11.00
#5E1484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E1484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1484
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1484#FFFFFF#000000##FFFFFF
##5E14841.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#59324E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1484;
/* rgb */ color: rgb(94, 20, 132);
/* oklch */ color: oklch(38.0% 0.172 310.2);
Tailwind
colors: {
  custom: {
    50: '#905da9',
    500: '#5e1484',
    950: '#000000',
  },
}
SCSS
$custom: #5e1484;
$custom-light: #905da9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1484",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 132
  },
  "hsl": {
    "h": 279.643,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.17244,
    "h": 310.2
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#5E1484
secondary
#66B93B
accent
#F03776
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1484

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

Preview Lab → · Contrast checker → · Palette generator →

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