#5E1DA1#5E1DA1

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

Color values

HEX#5E1DA1
RGBrgb(94, 29, 161)
HSLhsl(270, 69%, 37%)
HSVhsv(270, 82%, 63%)
CMYKcmyk(41.6%, 82%, 0%, 36.9%)
CIE-LABlab(28.98, 53.31, -58.44)
CIE-LCHlch(28.98, 79.10, 312.37°)
OKLaboklab(41.23% 0.0959 -0.1672)
OKLCHoklch(41.23% 0.193 299.8)
XYZxyz(11.4869, 5.8315, 34.2317)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1DA1 #60A11D
analogous
#1D1EA1 #5E1DA1 #A01DA1
triadic
#5E1DA1 #A15E1D #1DA15E
tetradic
#5E1DA1 #A11D1E #60A11D #1DA1A0
square
#5E1DA1 #A11D1E #60A11D #1DA1A0
split-complementary
#5E1DA1 #A1A01D #1EA11D
monochromatic
#210A39 #40146D #5E1DA1 #7C26D5 #9B58E1

Accessibility & contrast

On white

9.69
#5E1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1DA1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1DA1#FFFFFF#000000##FFFFFF
##5E1DA11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1da1;
/* rgb */ color: rgb(94, 29, 161);
/* oklch */ color: oklch(41.2% 0.193 299.8);
Tailwind
colors: {
  custom: {
    50: '#9362be',
    500: '#5e1da1',
    950: '#000000',
  },
}
SCSS
$custom: #5e1da1;
$custom-light: #9362be;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1da1",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 269.545,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.19273,
    "h": 299.8
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#5E1DA1
secondary
#8EC455
accent
#EC3C95
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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