#5E29AC#5E29AC

#5E29AC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.193 H 295.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5E29AC
RGBrgb(94, 41, 172)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 76%, 67%)
CMYKcmyk(45.3%, 76.2%, 0%, 32.5%)
CIE-LABlab(31.68, 51.13, -60.66)
CIE-LCHlch(31.68, 79.33, 310.13°)
OKLaboklab(43.41% 0.0832 -0.1738)
OKLCHoklch(43.41% 0.193 295.6)
XYZxyz(12.8534, 6.9438, 39.6848)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29AC #77AC29
analogous
#2936AC #5E29AC #A029AC
triadic
#5E29AC #AC5E29 #29AC5E
tetradic
#5E29AC #AC2936 #77AC29 #29ACA0
square
#5E29AC #AC2936 #77AC29 #29ACA0
split-complementary
#5E29AC #ACA029 #36AC29
monochromatic
#281149 #431D7B #5E29AC #7B41D2 #9D72DD

Accessibility & contrast

On white

8.79
#5E29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5E29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29AC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29AC#FFFFFF#000000##FFFFFF
##5E29AC1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#484C69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e29ac;
/* rgb */ color: rgb(94, 41, 172);
/* oklch */ color: oklch(43.4% 0.193 295.6);
Tailwind
colors: {
  custom: {
    50: '#9369c6',
    500: '#5e29ac',
    950: '#000000',
  },
}
SCSS
$custom: #5e29ac;
$custom-light: #9369c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29ac",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 264.275,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.19266,
    "h": 295.6
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#5E29AC
secondary
#A1C56C
accent
#E543A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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