#5E1C91#5E1C91

#5E1C91 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.178 H 304.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#5E1C91
RGBrgb(94, 28, 145)
HSLhsl(274, 68%, 34%)
HSVhsv(274, 81%, 57%)
CMYKcmyk(35.2%, 80.7%, 0%, 43.1%)
CIE-LABlab(27.45, 49.87, -51.15)
CIE-LCHlch(27.45, 71.44, 314.28°)
OKLaboklab(39.73% 0.1015 -0.1458)
OKLCHoklch(39.73% 0.178 304.8)
XYZxyz(10.1410, 5.2546, 27.2626)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1C91 #4F911C
analogous
#241C91 #5E1C91 #911C8A
triadic
#5E1C91 #915E1C #1C915E
tetradic
#5E1C91 #91241C #4F911C #1C8A91
square
#5E1C91 #91241C #4F911C #1C8A91
split-complementary
#5E1C91 #8A911C #1C9124
monochromatic
#1B082A #3D125E #5E1C91 #7F26C4 #9D4BDC

Accessibility & contrast

On white

10.24
#5E1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1C91
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1C91#FFFFFF#000000##FFFFFF
##5E1C911.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1c91;
/* rgb */ color: rgb(94, 28, 145);
/* oklch */ color: oklch(39.7% 0.178 304.8);
Tailwind
colors: {
  custom: {
    50: '#9161b2',
    500: '#5e1c91',
    950: '#000000',
  },
}
SCSS
$custom: #5e1c91;
$custom-light: #9161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1c91",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 273.846,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.1776,
    "h": 304.8
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#5E1C91
secondary
#7DBE4A
accent
#EB3D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5E1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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