#5E1490#5E1490

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

Color values

HEX#5E1490
RGBrgb(94, 20, 144)
HSLhsl(276, 76%, 32%)
HSVhsv(276, 86%, 56%)
CMYKcmyk(34.7%, 86.1%, 0%, 43.5%)
CIE-LABlab(26.43, 52.36, -52.19)
CIE-LCHlch(26.43, 73.93, 315.09°)
OKLaboklab(38.99% 0.1077 -0.1488)
OKLCHoklch(38.99% 0.184 305.9)
XYZxyz(9.8992, 4.8937, 26.8032)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1490 #469014
analogous
#201490 #5E1490 #901484
triadic
#5E1490 #905E14 #14905E
tetradic
#5E1490 #902014 #469014 #148490
square
#5E1490 #902014 #469014 #148490
split-complementary
#5E1490 #849014 #149020
monochromatic
#180525 #3B0D5A #5E1490 #811BC6 #A03BE4

Accessibility & contrast

On white

10.61
#5E1490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5E1490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1490
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1490#FFFFFF#000000##FFFFFF
##5E14901.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#553855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1490;
/* rgb */ color: rgb(94, 20, 144);
/* oklch */ color: oklch(39.0% 0.184 305.9);
Tailwind
colors: {
  custom: {
    50: '#915eb1',
    500: '#5e1490',
    950: '#000000',
  },
}
SCSS
$custom: #5e1490;
$custom-light: #915eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1490",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 275.806,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.18366,
    "h": 305.9
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#5E1490
secondary
#73C33D
accent
#F23682
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1490

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

Preview Lab → · Contrast checker → · Palette generator →

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