#5E1384#5E1384

#5E1384 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.173 H 310.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#5E1384
RGBrgb(94, 19, 132)
HSLhsl(280, 75%, 30%)
HSVhsv(280, 86%, 52%)
CMYKcmyk(28.8%, 85.6%, 0%, 48.2%)
CIE-LABlab(25.30, 50.01, -46.55)
CIE-LCHlch(25.30, 68.32, 317.05°)
OKLaboklab(37.89% 0.112 -0.1322)
OKLCHoklch(37.89% 0.173 310.3)
XYZxyz(9.0130, 4.5116, 22.2213)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1384 #398413
analogous
#261384 #5E1384 #841372
triadic
#5E1384 #845E13 #13845E
tetradic
#5E1384 #842613 #398413 #137284
square
#5E1384 #842613 #398413 #137284
split-complementary
#5E1384 #728413 #138426
monochromatic
#13041B #380B4F #5E1384 #841BB9 #A630E1

Accessibility & contrast

On white

11.04
#5E1384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1384
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1384#FFFFFF#000000##FFFFFF
##5E13841.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1384;
/* rgb */ color: rgb(94, 19, 132);
/* oklch */ color: oklch(37.9% 0.173 310.3);
Tailwind
colors: {
  custom: {
    50: '#905da9',
    500: '#5e1384',
    950: '#000000',
  },
}
SCSS
$custom: #5e1384;
$custom-light: #905da9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1384",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 132
  },
  "hsl": {
    "h": 279.823,
    "s": 74.834,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.17329,
    "h": 310.3
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#5E1384
secondary
#65B93A
accent
#F13675
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1384

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

Preview Lab → · Contrast checker → · Palette generator →

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