#5E29AD#5E29AD

#5E29AD is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.194 H 295.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5E29AD
RGBrgb(94, 41, 173)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 76%, 68%)
CMYKcmyk(45.7%, 76.3%, 0%, 32.2%)
CIE-LABlab(31.77, 51.39, -61.11)
CIE-LCHlch(31.77, 79.85, 310.06°)
OKLaboklab(43.5% 0.0829 -0.1751)
OKLCHoklch(43.5% 0.194 295.3)
XYZxyz(12.9498, 6.9824, 40.1925)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29AD #78AD29
analogous
#2936AD #5E29AD #A029AD
triadic
#5E29AD #AD5E29 #29AD5E
tetradic
#5E29AD #AD2936 #78AD29 #29ADA0
square
#5E29AD #AD2936 #78AD29 #29ADA0
split-complementary
#5E29AD #ADA029 #36AD29
monochromatic
#28124A #431D7C #5E29AD #7B41D2 #9E73DE

Accessibility & contrast

On white

8.76
#5E29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E29AD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29AD#FFFFFF#000000##FFFFFF
##5E29AD1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#484D6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e29ad;
/* rgb */ color: rgb(94, 41, 173);
/* oklch */ color: oklch(43.5% 0.194 295.3);
Tailwind
colors: {
  custom: {
    50: '#9369c6',
    500: '#5e29ad',
    950: '#000000',
  },
}
SCSS
$custom: #5e29ad;
$custom-light: #9369c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29ad",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 264.091,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.19375,
    "h": 295.3
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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