#5E2091#5E2091

#5E2091 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.173 H 304.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#5E2091
RGBrgb(94, 32, 145)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 57%)
CMYKcmyk(35.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(28.00, 48.28, -50.25)
CIE-LCHlch(28.00, 69.69, 313.86°)
OKLaboklab(40.11% 0.098 -0.1431)
OKLCHoklch(40.11% 0.173 304.4)
XYZxyz(10.2423, 5.4571, 27.2963)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2091 #539120
analogous
#252091 #5E2091 #91208C
triadic
#5E2091 #915E20 #20915E
tetradic
#5E2091 #912520 #539120 #208C91
square
#5E2091 #912520 #539120 #208C91
split-complementary
#5E2091 #8C9120 #209125
monochromatic
#1D0A2D #3D155F #5E2091 #7F2BC3 #9C52D9

Accessibility & contrast

On white

10.04
#5E2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5E2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2091
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2091#FFFFFF#000000##FFFFFF
##5E20911.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.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: #5e2091;
/* rgb */ color: rgb(94, 32, 145);
/* oklch */ color: oklch(40.1% 0.173 304.4);
Tailwind
colors: {
  custom: {
    50: '#9163b2',
    500: '#5e2091',
    950: '#000000',
  },
}
SCSS
$custom: #5e2091;
$custom-light: #9163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2091",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 272.92,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.17349,
    "h": 304.4
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#5E2091
secondary
#81BC51
accent
#E7418C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2091

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

Preview Lab → · Contrast checker → · Palette generator →

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