#5C29AC#5C29AC

#5C29AC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.193 H 294.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#5C29AC
RGBrgb(92, 41, 172)
HSLhsl(263, 62%, 42%)
HSVhsv(263, 76%, 67%)
CMYKcmyk(46.5%, 76.2%, 0%, 32.5%)
CIE-LABlab(31.44, 50.81, -61.06)
CIE-LCHlch(31.44, 79.44, 309.77°)
OKLaboklab(43.19% 0.0802 -0.175)
OKLCHoklch(43.19% 0.193 294.6)
XYZxyz(12.6509, 6.8394, 39.6753)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29AC #79AC29
analogous
#2938AC #5C29AC #9E29AC
triadic
#5C29AC #AC5C29 #29AC5C
tetradic
#5C29AC #AC2938 #79AC29 #29AC9E
square
#5C29AC #AC2938 #79AC29 #29AC9E
split-complementary
#5C29AC #AC9E29 #38AC29
monochromatic
#271149 #421D7B #5C29AC #7941D2 #9C72DD

Accessibility & contrast

On white

8.87
#5C29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5C29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29AC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29AC#FFFFFF#000000##FFFFFF
##5C29AC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#454C69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c29ac;
/* rgb */ color: rgb(92, 41, 172);
/* oklch */ color: oklch(43.2% 0.193 294.6);
Tailwind
colors: {
  custom: {
    50: '#9268c6',
    500: '#5c29ac',
    950: '#000000',
  },
}
SCSS
$custom: #5c29ac;
$custom-light: #9268c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29ac",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 263.359,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.19252,
    "h": 294.6
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#5C29AC
secondary
#A2C56C
accent
#E543A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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