#5C29B6#5C29B6

#5C29B6 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.203 H 292.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5C29B6
RGBrgb(92, 41, 182)
HSLhsl(262, 63%, 44%)
HSVhsv(262, 77%, 71%)
CMYKcmyk(49.5%, 77.5%, 0%, 28.6%)
CIE-LABlab(32.34, 53.45, -65.54)
CIE-LCHlch(32.34, 84.57, 309.20°)
OKLaboklab(44.1% 0.0774 -0.1882)
OKLCHoklch(44.1% 0.203 292.3)
XYZxyz(13.6477, 7.2381, 44.9249)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29B6 #83B629
analogous
#293CB6 #5C29B6 #A229B6
triadic
#5C29B6 #B65C29 #29B65C
tetradic
#5C29B6 #B6293C #83B629 #29B6A2
square
#5C29B6 #B6293C #83B629 #29B6A2
split-complementary
#5C29B6 #B6A229 #3CB629
monochromatic
#2A1252 #431E84 #5C29B6 #7A47D5 #9E79E1

Accessibility & contrast

On white

8.58
#5C29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5C29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29B6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29B6#FFFFFF#000000##FFFFFF
##5C29B61.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#3F516F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c29b6;
/* rgb */ color: rgb(92, 41, 182);
/* oklch */ color: oklch(44.1% 0.203 292.3);
Tailwind
colors: {
  custom: {
    50: '#9369cd',
    500: '#5c29b6',
    950: '#000000',
  },
}
SCSS
$custom: #5c29b6;
$custom-light: #9369cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29b6",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 261.702,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.20346,
    "h": 292.3
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#5C29B6
secondary
#A9C972
accent
#E642AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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