#5E1E84#5E1E84

#5E1E84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.162 H 309.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#5E1E84
RGBrgb(94, 30, 132)
HSLhsl(278, 63%, 32%)
HSVhsv(278, 77%, 52%)
CMYKcmyk(28.8%, 77.3%, 0%, 48.2%)
CIE-LABlab(26.66, 46.05, -44.33)
CIE-LCHlch(26.66, 63.93, 316.09°)
OKLaboklab(38.84% 0.1028 -0.1257)
OKLCHoklch(38.84% 0.162 309.3)
XYZxyz(9.2444, 4.9744, 22.2985)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E84 #44841E
analogous
#2B1E84 #5E1E84 #841E77
triadic
#5E1E84 #845E1E #1E845E
tetradic
#5E1E84 #842B1E #44841E #1E7784
square
#5E1E84 #842B1E #44841E #1E7784
split-complementary
#5E1E84 #77841E #1E842B
monochromatic
#170720 #3A1352 #5E1E84 #8229B6 #A047D5

Accessibility & contrast

On white

10.53
#5E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E84
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E84#FFFFFF#000000##FFFFFF
##5E1E841.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#583650
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1e84;
/* rgb */ color: rgb(94, 30, 132);
/* oklch */ color: oklch(38.8% 0.162 309.3);
Tailwind
colors: {
  custom: {
    50: '#9061a8',
    500: '#5e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e84;
$custom-light: #9061a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e84",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 277.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.1624,
    "h": 309.3
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#5E1E84
secondary
#71B747
accent
#E6427F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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