#5C29AB#5C29AB

#5C29AB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.191 H 294.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5C29AB
RGBrgb(92, 41, 171)
HSLhsl(264, 61%, 42%)
HSVhsv(264, 76%, 67%)
CMYKcmyk(46.2%, 76%, 0%, 32.9%)
CIE-LABlab(31.35, 50.55, -60.61)
CIE-LCHlch(31.35, 78.92, 309.83°)
OKLaboklab(43.1% 0.0804 -0.1737)
OKLCHoklch(43.1% 0.191 294.8)
XYZxyz(12.5553, 6.8011, 39.1714)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29AB #78AB29
analogous
#2937AB #5C29AB #9D29AB
triadic
#5C29AB #AB5C29 #29AB5C
tetradic
#5C29AB #AB2937 #78AB29 #29AB9D
square
#5C29AB #AB2937 #78AB29 #29AB9D
split-complementary
#5C29AB #AB9D29 #37AB29
monochromatic
#271148 #411D7A #5C29AB #7940D1 #9C71DD

Accessibility & contrast

On white

8.90
#5C29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5C29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29AB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29AB#FFFFFF#000000##FFFFFF
##5C29AB1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#454C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c29ab;
/* rgb */ color: rgb(92, 41, 171);
/* oklch */ color: oklch(43.1% 0.191 294.8);
Tailwind
colors: {
  custom: {
    50: '#9268c5',
    500: '#5c29ab',
    950: '#000000',
  },
}
SCSS
$custom: #5c29ab;
$custom-light: #9268c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29ab",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 263.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.19142,
    "h": 294.8
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#5C29AB
secondary
#A1C46C
accent
#E443A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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