#5E2191#5E2191

#5E2191 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.172 H 304.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#5E2191
RGBrgb(94, 33, 145)
HSLhsl(273, 63%, 35%)
HSVhsv(273, 77%, 57%)
CMYKcmyk(35.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(28.15, 47.86, -50.01)
CIE-LCHlch(28.15, 69.22, 313.74°)
OKLaboklab(40.22% 0.0971 -0.1425)
OKLCHoklch(40.22% 0.172 304.3)
XYZxyz(10.2696, 5.5118, 27.3054)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2191 #549121
analogous
#262191 #5E2191 #91218C
triadic
#5E2191 #915E21 #21915E
tetradic
#5E2191 #912621 #549121 #218C91
square
#5E2191 #912621 #549121 #218C91
split-complementary
#5E2191 #8C9121 #219126
monochromatic
#1D0A2D #3E165F #5E2191 #7E2CC3 #9C54D8

Accessibility & contrast

On white

9.99
#5E2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5E2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2191
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2191#FFFFFF#000000##FFFFFF
##5E21911.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#543D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e2191;
/* rgb */ color: rgb(94, 33, 145);
/* oklch */ color: oklch(40.2% 0.172 304.3);
Tailwind
colors: {
  custom: {
    50: '#9163b2',
    500: '#5e2191',
    950: '#000000',
  },
}
SCSS
$custom: #5e2191;
$custom-light: #9163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2191",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 272.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40215,
    "c": 0.1724,
    "h": 304.3
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#5E2191
secondary
#82BC52
accent
#E6428D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2191

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

Preview Lab → · Contrast checker → · Palette generator →

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