#5E1EA9#5E1EA9

#5E1EA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.200 H 297.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5E1EA9
RGBrgb(94, 30, 169)
HSLhsl(268, 70%, 39%)
HSVhsv(268, 82%, 66%)
CMYKcmyk(44.4%, 82.2%, 0%, 33.7%)
CIE-LABlab(29.84, 54.89, -61.86)
CIE-LCHlch(29.84, 82.70, 311.58°)
OKLaboklab(42.05% 0.0925 -0.1772)
OKLCHoklch(42.05% 0.2 297.6)
XYZxyz(12.2399, 6.1726, 38.0750)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1EA9 #69A91E
analogous
#1E24A9 #5E1EA9 #A41EA9
triadic
#5E1EA9 #A95E1E #1EA95E
tetradic
#5E1EA9 #A91E24 #69A91E #1EA9A4
square
#5E1EA9 #A91E24 #69A91E #1EA9A4
split-complementary
#5E1EA9 #A9A41E #24A91E
monochromatic
#240C41 #411575 #5E1EA9 #7B2BD9 #9B5FE3

Accessibility & contrast

On white

9.40
#5E1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1EA9
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1EA9#FFFFFF#000000##FFFFFF
##5E1EA91.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#4A4665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e1ea9;
/* rgb */ color: rgb(94, 30, 169);
/* oklch */ color: oklch(42.0% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#9363c4',
    500: '#5e1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #5e1ea9;
$custom-light: #9363c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1ea9",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 267.626,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.19994,
    "h": 297.6
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#5E1EA9
secondary
#96C75C
accent
#ED3B9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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