#5C29B8#5C29B8

#5C29B8 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.206 H 291.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#5C29B8
RGBrgb(92, 41, 184)
HSLhsl(261, 64%, 44%)
HSVhsv(261, 78%, 72%)
CMYKcmyk(50%, 77.7%, 0%, 27.8%)
CIE-LABlab(32.53, 53.98, -66.43)
CIE-LCHlch(32.53, 85.59, 309.10°)
OKLaboklab(44.28% 0.0768 -0.1908)
OKLCHoklch(44.28% 0.206 291.9)
XYZxyz(13.8559, 7.3214, 46.0212)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29B8 #85B829
analogous
#293DB8 #5C29B8 #A429B8
triadic
#5C29B8 #B85C29 #29B85C
tetradic
#5C29B8 #B8293D #85B829 #29B8A4
square
#5C29B8 #B8293D #85B829 #29B8A4
split-complementary
#5C29B8 #B8A429 #3DB829
monochromatic
#2A1354 #431E86 #5C29B8 #7B48D6 #9F7AE1

Accessibility & contrast

On white

8.52
#5C29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5C29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29B8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29B8#FFFFFF#000000##FFFFFF
##5C29B81.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#3D5170
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c29b8;
/* rgb */ color: rgb(92, 41, 184);
/* oklch */ color: oklch(44.3% 0.206 291.9);
Tailwind
colors: {
  custom: {
    50: '#9469ce',
    500: '#5c29b8',
    950: '#000000',
  },
}
SCSS
$custom: #5c29b8;
$custom-light: #9469ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29b8",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 261.399,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.20565,
    "h": 291.9
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#5C29B8
secondary
#ABC973
accent
#E741AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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