#5E1EA1#5E1EA1

#5E1EA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.192 H 299.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1EA1
RGBrgb(94, 30, 161)
HSLhsl(269, 69%, 37%)
HSVhsv(269, 81%, 63%)
CMYKcmyk(41.6%, 81.4%, 0%, 36.9%)
CIE-LABlab(29.11, 52.94, -58.23)
CIE-LCHlch(29.11, 78.70, 312.28°)
OKLaboklab(41.32% 0.0952 -0.1666)
OKLCHoklch(41.32% 0.192 299.7)
XYZxyz(11.5118, 5.8813, 34.2400)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1EA1 #61A11E
analogous
#1E20A1 #5E1EA1 #9F1EA1
triadic
#5E1EA1 #A15E1E #1EA15E
tetradic
#5E1EA1 #A11E20 #61A11E #1EA19F
square
#5E1EA1 #A11E20 #61A11E #1EA19F
split-complementary
#5E1EA1 #A19F1E #20A11E
monochromatic
#220B3A #40146D #5E1EA1 #7C28D5 #9B59E0

Accessibility & contrast

On white

9.65
#5E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5E1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1EA1
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1EA1#FFFFFF#000000##FFFFFF
##5E1EA11.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#4E4360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e1ea1;
/* rgb */ color: rgb(94, 30, 161);
/* oklch */ color: oklch(41.3% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#9363be',
    500: '#5e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #5e1ea1;
$custom-light: #9363be;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1ea1",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 269.313,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.19184,
    "h": 299.7
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#5E1EA1
secondary
#8FC457
accent
#EB3C96
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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