#5C29AF#5C29AF

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

Color values

HEX#5C29AF
RGBrgb(92, 41, 175)
HSLhsl(263, 62%, 42%)
HSVhsv(263, 77%, 69%)
CMYKcmyk(47.4%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.71, 51.60, -62.42)
CIE-LCHlch(31.71, 80.99, 309.58°)
OKLaboklab(43.46% 0.0793 -0.179)
OKLCHoklch(43.46% 0.196 293.9)
XYZxyz(12.9423, 6.9559, 41.2098)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29AF #7CAF29
analogous
#2939AF #5C29AF #9F29AF
triadic
#5C29AF #AF5C29 #29AF5C
tetradic
#5C29AF #AF2939 #7CAF29 #29AF9F
square
#5C29AF #AF2939 #7CAF29 #29AF9F
split-complementary
#5C29AF #AF9F29 #39AF29
monochromatic
#28124C #421D7D #5C29AF #7942D3 #9C74DE

Accessibility & contrast

On white

8.78
#5C29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C29AF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29AF#FFFFFF#000000##FFFFFF
##5C29AF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c29af;
/* rgb */ color: rgb(92, 41, 175);
/* oklch */ color: oklch(43.5% 0.196 293.9);
Tailwind
colors: {
  custom: {
    50: '#9269c8',
    500: '#5c29af',
    950: '#000000',
  },
}
SCSS
$custom: #5c29af;
$custom-light: #9269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29af",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 262.836,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43457,
    "c": 0.19581,
    "h": 293.9
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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