#5C29AA#5C29AA

#5C29AA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.190 H 295.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5C29AA
RGBrgb(92, 41, 170)
HSLhsl(264, 61%, 41%)
HSVhsv(264, 76%, 67%)
CMYKcmyk(45.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(31.26, 50.29, -60.15)
CIE-LCHlch(31.26, 78.40, 309.90°)
OKLaboklab(43.01% 0.0807 -0.1724)
OKLCHoklch(43.01% 0.19 295.1)
XYZxyz(12.4603, 6.7631, 38.6713)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29AA #77AA29
analogous
#2937AA #5C29AA #9D29AA
triadic
#5C29AA #AA5C29 #29AA5C
tetradic
#5C29AA #AA2937 #77AA29 #29AA9D
square
#5C29AA #AA2937 #77AA29 #29AA9D
split-complementary
#5C29AA #AA9D29 #37AA29
monochromatic
#271147 #411D79 #5C29AA #793FD1 #9B71DD

Accessibility & contrast

On white

8.93
#5C29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29AA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29AA#FFFFFF#000000##FFFFFF
##5C29AA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#464C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c29aa;
/* rgb */ color: rgb(92, 41, 170);
/* oklch */ color: oklch(43.0% 0.190 295.1);
Tailwind
colors: {
  custom: {
    50: '#9268c4',
    500: '#5c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #5c29aa;
$custom-light: #9268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29aa",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 263.721,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.19032,
    "h": 295.1
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#5C29AA
secondary
#A1C46B
accent
#E444A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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