#5C29B9#5C29B9

#5C29B9 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.207 H 291.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5C29B9
RGBrgb(92, 41, 185)
HSLhsl(261, 64%, 44%)
HSVhsv(261, 78%, 73%)
CMYKcmyk(50.3%, 77.8%, 0%, 27.5%)
CIE-LABlab(32.62, 54.24, -66.87)
CIE-LCHlch(32.62, 86.10, 309.05°)
OKLaboklab(44.38% 0.0765 -0.1921)
OKLCHoklch(44.38% 0.207 291.7)
XYZxyz(13.9610, 7.3634, 46.5752)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29B9 #86B929
analogous
#293EB9 #5C29B9 #A429B9
triadic
#5C29B9 #B95C29 #29B95C
tetradic
#5C29B9 #B9293E #86B929 #29B9A4
square
#5C29B9 #B9293E #86B929 #29B9A4
split-complementary
#5C29B9 #B9A429 #3EB929
monochromatic
#2A1355 #431E87 #5C29B9 #7B49D7 #9F7BE2

Accessibility & contrast

On white

8.49
#5C29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29B9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29B9#FFFFFF#000000##FFFFFF
##5C29B91.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#3D5270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c29b9;
/* rgb */ color: rgb(92, 41, 185);
/* oklch */ color: oklch(44.4% 0.207 291.7);
Tailwind
colors: {
  custom: {
    50: '#9469cf',
    500: '#5c29b9',
    950: '#000000',
  },
}
SCSS
$custom: #5c29b9;
$custom-light: #9469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29b9",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 261.25,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.20673,
    "h": 291.7
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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