#5E1D91#5E1D91

#5E1D91 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.177 H 304.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#5E1D91
RGBrgb(94, 29, 145)
HSLhsl(274, 67%, 34%)
HSVhsv(274, 80%, 57%)
CMYKcmyk(35.2%, 80%, 0%, 43.1%)
CIE-LABlab(27.58, 49.49, -50.93)
CIE-LCHlch(27.58, 71.01, 314.18°)
OKLaboklab(39.82% 0.1006 -0.1451)
OKLCHoklch(39.82% 0.177 304.7)
XYZxyz(10.1651, 5.3028, 27.2706)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D91 #50911D
analogous
#241D91 #5E1D91 #911D8A
triadic
#5E1D91 #915E1D #1D915E
tetradic
#5E1D91 #91241D #50911D #1D8A91
square
#5E1D91 #91241D #50911D #1D8A91
split-complementary
#5E1D91 #8A911D #1D9124
monochromatic
#1C092B #3D135E #5E1D91 #7F27C4 #9D4DDB

Accessibility & contrast

On white

10.19
#5E1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5E1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D91
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D91#FFFFFF#000000##FFFFFF
##5E1D911.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#543B57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e1d91;
/* rgb */ color: rgb(94, 29, 145);
/* oklch */ color: oklch(39.8% 0.177 304.7);
Tailwind
colors: {
  custom: {
    50: '#9161b2',
    500: '#5e1d91',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d91;
$custom-light: #9161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d91",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 273.621,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.17661,
    "h": 304.7
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#5E1D91
secondary
#7EBE4C
accent
#EA3E8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5E1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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