#5E1489#5E1489

#5E1489 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.177 H 308.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#5E1489
RGBrgb(94, 20, 137)
HSLhsl(278, 75%, 31%)
HSVhsv(278, 85%, 54%)
CMYKcmyk(31.4%, 85.4%, 0%, 46.3%)
CIE-LABlab(25.82, 50.80, -48.83)
CIE-LCHlch(25.82, 70.46, 316.13°)
OKLaboklab(38.38% 0.1099 -0.1389)
OKLCHoklch(38.38% 0.177 308.4)
XYZxyz(9.3807, 4.6863, 24.0724)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1489 #3F8914
analogous
#241489 #5E1489 #891479
triadic
#5E1489 #895E14 #14895E
tetradic
#5E1489 #892414 #3F8914 #147989
square
#5E1489 #892414 #3F8914 #147989
split-complementary
#5E1489 #798914 #148924
monochromatic
#15041E #390C54 #5E1489 #831CBE #A236E2

Accessibility & contrast

On white

10.84
#5E1489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1489
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1489#FFFFFF#000000##FFFFFF
##5E14891.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#573451
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1489;
/* rgb */ color: rgb(94, 20, 137);
/* oklch */ color: oklch(38.4% 0.177 308.4);
Tailwind
colors: {
  custom: {
    50: '#915dac',
    500: '#5e1489',
    950: '#000000',
  },
}
SCSS
$custom: #5e1489;
$custom-light: #915dac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1489",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 277.949,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.17711,
    "h": 308.4
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#5E1489
secondary
#6BBD3C
accent
#F1377B
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1489

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

Preview Lab → · Contrast checker → · Palette generator →

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