#5E1E92#5E1E92

#5E1E92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.177 H 304.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#5E1E92
RGBrgb(94, 30, 146)
HSLhsl(273, 66%, 35%)
HSVhsv(273, 79%, 57%)
CMYKcmyk(35.6%, 79.5%, 0%, 42.7%)
CIE-LABlab(27.80, 49.33, -51.19)
CIE-LCHlch(27.80, 71.09, 313.94°)
OKLaboklab(40% 0.0995 -0.1459)
OKLCHoklch(40% 0.177 304.3)
XYZxyz(10.2675, 5.3836, 27.6868)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E92 #52921E
analogous
#241E92 #5E1E92 #921E8C
triadic
#5E1E92 #925E1E #1E925E
tetradic
#5E1E92 #92241E #52921E #1E8C92
square
#5E1E92 #92241E #52921E #1E8C92
split-complementary
#5E1E92 #8C921E #1E9224
monochromatic
#1D092C #3D145F #5E1E92 #7F28C5 #9C4FDB

Accessibility & contrast

On white

10.11
#5E1E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5E1E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E92
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E92#FFFFFF#000000##FFFFFF
##5E1E921.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#543C58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e1e92;
/* rgb */ color: rgb(94, 30, 146);
/* oklch */ color: oklch(40.0% 0.177 304.3);
Tailwind
colors: {
  custom: {
    50: '#9162b3',
    500: '#5e1e92',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e92;
$custom-light: #9162b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e92",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 273.103,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.17661,
    "h": 304.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#5E1E92
secondary
#80BE4E
accent
#E93F8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5E1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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