#5E1992#5E1992

#5E1992 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.181 H 304.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#5E1992
RGBrgb(94, 25, 146)
HSLhsl(274, 71%, 34%)
HSVhsv(274, 83%, 57%)
CMYKcmyk(35.6%, 82.9%, 0%, 42.7%)
CIE-LABlab(27.16, 51.19, -52.24)
CIE-LCHlch(27.16, 73.14, 314.42°)
OKLaboklab(39.55% 0.1036 -0.1489)
OKLCHoklch(39.55% 0.181 304.8)
XYZxyz(10.1508, 5.1503, 27.6479)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1992 #4D9219
analogous
#221992 #5E1992 #921989
triadic
#5E1992 #925E19 #19925E
tetradic
#5E1992 #922219 #4D9219 #198992
square
#5E1992 #922219 #4D9219 #198992
split-complementary
#5E1992 #899219 #199222
monochromatic
#1B0729 #3C105E #5E1992 #8022C6 #9D46DF

Accessibility & contrast

On white

10.34
#5E1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1992
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1992#FFFFFF#000000##FFFFFF
##5E19921.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#543A57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e1992;
/* rgb */ color: rgb(94, 25, 146);
/* oklch */ color: oklch(39.6% 0.181 304.8);
Tailwind
colors: {
  custom: {
    50: '#9160b3',
    500: '#5e1992',
    950: '#000000',
  },
}
SCSS
$custom: #5e1992;
$custom-light: #9160b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1992",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 274.215,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.1814,
    "h": 304.8
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#5E1992
secondary
#7BC146
accent
#EE3A87
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1992

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

Preview Lab → · Contrast checker → · Palette generator →

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