#5E1EA0#5E1EA0

#5E1EA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.191 H 300.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5E1EA0
RGBrgb(94, 30, 160)
HSLhsl(270, 68%, 37%)
HSVhsv(270, 81%, 63%)
CMYKcmyk(41.3%, 81.3%, 0%, 37.3%)
CIE-LABlab(29.02, 52.70, -57.77)
CIE-LCHlch(29.02, 78.19, 312.37°)
OKLaboklab(41.23% 0.0955 -0.1652)
OKLCHoklch(41.23% 0.191 300)
XYZxyz(11.4239, 5.8462, 33.7774)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1EA0 #60A01E
analogous
#1E1FA0 #5E1EA0 #9F1EA0
triadic
#5E1EA0 #A05E1E #1EA05E
tetradic
#5E1EA0 #A01E1F #60A01E #1EA09F
square
#5E1EA0 #A01E1F #60A01E #1EA09F
split-complementary
#5E1EA0 #A09F1E #1FA01E
monochromatic
#210B39 #40146C #5E1EA0 #7C28D4 #9B59E0

Accessibility & contrast

On white

9.68
#5E1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5E1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1EA0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1EA0#FFFFFF#000000##FFFFFF
##5E1EA01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4E4260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e1ea0;
/* rgb */ color: rgb(94, 30, 160);
/* oklch */ color: oklch(41.2% 0.191 300.0);
Tailwind
colors: {
  custom: {
    50: '#9263bd',
    500: '#5e1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #5e1ea0;
$custom-light: #9263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1ea0",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 269.538,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.19082,
    "h": 300
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#5E1EA0
secondary
#8EC456
accent
#EB3D95
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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