#5E29AB#5E29AB

#5E29AB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.192 H 295.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5E29AB
RGBrgb(94, 41, 171)
HSLhsl(264, 61%, 42%)
HSVhsv(264, 76%, 67%)
CMYKcmyk(45%, 76%, 0%, 32.9%)
CIE-LABlab(31.59, 50.87, -60.20)
CIE-LCHlch(31.59, 78.82, 310.20°)
OKLaboklab(43.32% 0.0834 -0.1724)
OKLCHoklch(43.32% 0.192 295.8)
XYZxyz(12.7578, 6.9055, 39.1809)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29AB #76AB29
analogous
#2935AB #5E29AB #9F29AB
triadic
#5E29AB #AB5E29 #29AB5E
tetradic
#5E29AB #AB2935 #76AB29 #29AB9F
square
#5E29AB #AB2935 #76AB29 #29AB9F
split-complementary
#5E29AB #AB9F29 #35AB29
monochromatic
#281148 #431D7A #5E29AB #7B40D1 #9D71DD

Accessibility & contrast

On white

8.82
#5E29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29AB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29AB#FFFFFF#000000##FFFFFF
##5E29AB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#494C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e29ab;
/* rgb */ color: rgb(94, 41, 171);
/* oklch */ color: oklch(43.3% 0.192 295.8);
Tailwind
colors: {
  custom: {
    50: '#9369c5',
    500: '#5e29ab',
    950: '#000000',
  },
}
SCSS
$custom: #5e29ab;
$custom-light: #9369c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29ab",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 264.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.19157,
    "h": 295.8
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#5E29AB
secondary
#A0C46C
accent
#E443A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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