#5D29AF#5D29AF

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

Color values

HEX#5D29AF
RGBrgb(93, 41, 175)
HSLhsl(263, 62%, 42%)
HSVhsv(263, 77%, 69%)
CMYKcmyk(46.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.82, 51.76, -62.22)
CIE-LCHlch(31.82, 80.93, 309.76°)
OKLaboklab(43.57% 0.0809 -0.1784)
OKLCHoklch(43.57% 0.196 294.4)
XYZxyz(13.0429, 7.0078, 41.2146)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29AF #7BAF29
analogous
#2938AF #5D29AF #A029AF
triadic
#5D29AF #AF5D29 #29AF5D
tetradic
#5D29AF #AF2938 #7BAF29 #29AFA0
square
#5D29AF #AF2938 #7BAF29 #29AFA0
split-complementary
#5D29AF #AFA029 #38AF29
monochromatic
#28124C #431D7D #5D29AF #7A42D3 #9D74DE

Accessibility & contrast

On white

8.74
#5D29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D29AF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29AF#FFFFFF#000000##FFFFFF
##5D29AF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#454E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d29af;
/* rgb */ color: rgb(93, 41, 175);
/* oklch */ color: oklch(43.6% 0.196 294.4);
Tailwind
colors: {
  custom: {
    50: '#9369c8',
    500: '#5d29af',
    950: '#000000',
  },
}
SCSS
$custom: #5d29af;
$custom-light: #9369c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29af",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 263.284,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.19587,
    "h": 294.4
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#5D29AF
secondary
#A4C66E
accent
#E543A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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