#5E29AE#5E29AE

#5E29AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 295.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5E29AE
RGBrgb(94, 41, 174)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 76%, 68%)
CMYKcmyk(46%, 76.4%, 0%, 31.8%)
CIE-LABlab(31.86, 51.65, -61.57)
CIE-LCHlch(31.86, 80.36, 310.00°)
OKLaboklab(43.59% 0.0826 -0.1765)
OKLCHoklch(43.59% 0.195 295.1)
XYZxyz(13.0469, 7.0212, 40.7040)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29AE #79AE29
analogous
#2937AE #5E29AE #A129AE
triadic
#5E29AE #AE5E29 #29AE5E
tetradic
#5E29AE #AE2937 #79AE29 #29AEA1
square
#5E29AE #AE2937 #79AE29 #29AEA1
split-complementary
#5E29AE #AEA129 #37AE29
monochromatic
#28124B #431D7C #5E29AE #7B42D2 #9E73DE

Accessibility & contrast

On white

8.73
#5E29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5E29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29AE
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29AE#FFFFFF#000000##FFFFFF
##5E29AE1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#474D6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e29ae;
/* rgb */ color: rgb(94, 41, 174);
/* oklch */ color: oklch(43.6% 0.195 295.1);
Tailwind
colors: {
  custom: {
    50: '#9369c7',
    500: '#5e29ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e29ae;
$custom-light: #9369c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29ae",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 263.91,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.19485,
    "h": 295.1
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#5E29AE
secondary
#A2C56D
accent
#E543A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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