#5D29AD#5D29AD

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

Color values

HEX#5D29AD
RGBrgb(93, 41, 173)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 76%, 68%)
CMYKcmyk(46.2%, 76.3%, 0%, 32.2%)
CIE-LABlab(31.65, 51.23, -61.31)
CIE-LCHlch(31.65, 79.90, 309.88°)
OKLaboklab(43.39% 0.0814 -0.1757)
OKLCHoklch(43.39% 0.194 294.8)
XYZxyz(12.8479, 6.9298, 40.1877)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29AD #79AD29
analogous
#2937AD #5D29AD #9F29AD
triadic
#5D29AD #AD5D29 #29AD5D
tetradic
#5D29AD #AD2937 #79AD29 #29AD9F
square
#5D29AD #AD2937 #79AD29 #29AD9F
split-complementary
#5D29AD #AD9F29 #37AD29
monochromatic
#28124A #421D7C #5D29AD #7A41D2 #9D73DE

Accessibility & contrast

On white

8.80
#5D29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D29AD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29AD#FFFFFF#000000##FFFFFF
##5D29AD1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#464D6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d29ad;
/* rgb */ color: rgb(93, 41, 173);
/* oklch */ color: oklch(43.4% 0.194 294.8);
Tailwind
colors: {
  custom: {
    50: '#9369c6',
    500: '#5d29ad',
    950: '#000000',
  },
}
SCSS
$custom: #5d29ad;
$custom-light: #9369c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29ad",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 263.636,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.19368,
    "h": 294.8
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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