#5E1884#5E1884

#5E1884 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.169 H 309.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#5E1884
RGBrgb(94, 24, 132)
HSLhsl(279, 69%, 31%)
HSVhsv(279, 82%, 52%)
CMYKcmyk(28.8%, 81.8%, 0%, 48.2%)
CIE-LABlab(25.86, 48.36, -45.63)
CIE-LCHlch(25.86, 66.50, 316.66°)
OKLaboklab(38.28% 0.1082 -0.1295)
OKLCHoklch(38.28% 0.169 309.9)
XYZxyz(9.1068, 4.6991, 22.2526)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1884 #3E8418
analogous
#281884 #5E1884 #841874
triadic
#5E1884 #845E18 #18845E
tetradic
#5E1884 #842818 #3E8418 #187484
square
#5E1884 #842818 #3E8418 #187484
split-complementary
#5E1884 #748418 #188428
monochromatic
#14051C #390F50 #5E1884 #8321B8 #A33BDB

Accessibility & contrast

On white

10.83
#5E1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1884
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1884#FFFFFF#000000##FFFFFF
##5E18841.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#58344E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1884;
/* rgb */ color: rgb(94, 24, 132);
/* oklch */ color: oklch(38.3% 0.169 309.9);
Tailwind
colors: {
  custom: {
    50: '#905ea9',
    500: '#5e1884',
    950: '#000000',
  },
}
SCSS
$custom: #5e1884;
$custom-light: #905ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1884",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 278.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38279,
    "c": 0.16878,
    "h": 309.9
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#5E1884
secondary
#6AB840
accent
#EC3C7A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1884

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

Preview Lab → · Contrast checker → · Palette generator →

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