#5E1390#5E1390

#5E1390 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.184 H 306.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1390
RGBrgb(94, 19, 144)
HSLhsl(276, 77%, 32%)
HSVhsv(276, 87%, 56%)
CMYKcmyk(34.7%, 86.8%, 0%, 43.5%)
CIE-LABlab(26.33, 52.66, -52.35)
CIE-LCHlch(26.33, 74.25, 315.16°)
OKLaboklab(38.92% 0.1084 -0.1492)
OKLCHoklch(38.92% 0.184 306)
XYZxyz(9.8819, 4.8591, 26.7975)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1390 #459013
analogous
#201390 #5E1390 #901384
triadic
#5E1390 #905E13 #13905E
tetradic
#5E1390 #902013 #459013 #138490
square
#5E1390 #902013 #459013 #138490
split-complementary
#5E1390 #849013 #139020
monochromatic
#170524 #3B0C5A #5E1390 #811AC6 #A039E5

Accessibility & contrast

On white

10.65
#5E1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5E1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1390
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1390#FFFFFF#000000##FFFFFF
##5E13901.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#553755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1390;
/* rgb */ color: rgb(94, 19, 144);
/* oklch */ color: oklch(38.9% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#915db1',
    500: '#5e1390',
    950: '#000000',
  },
}
SCSS
$custom: #5e1390;
$custom-light: #915db1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1390",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 276,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.18442,
    "h": 306
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#5E1390
secondary
#72C43B
accent
#F33581
background
#F9F5FB
surface
#F2E9F6
border
#CCC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1390

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

Preview Lab → · Contrast checker → · Palette generator →

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