#5C29A6#5C29A6

#5C29A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 296.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5C29A6
RGBrgb(92, 41, 166)
HSLhsl(264, 60%, 41%)
HSVhsv(264, 75%, 65%)
CMYKcmyk(44.6%, 75.3%, 0%, 34.9%)
CIE-LABlab(30.91, 49.24, -58.32)
CIE-LCHlch(30.91, 76.32, 310.17°)
OKLaboklab(42.66% 0.0817 -0.167)
OKLCHoklch(42.66% 0.186 296.1)
XYZxyz(12.0877, 6.6141, 36.7088)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29A6 #73A629
analogous
#2935A6 #5C29A6 #9A29A6
triadic
#5C29A6 #A65C29 #29A65C
tetradic
#5C29A6 #A62935 #73A629 #29A69A
square
#5C29A6 #A62935 #73A629 #29A69A
split-complementary
#5C29A6 #A69A29 #35A629
monochromatic
#261144 #411D75 #5C29A6 #793DCF #9B6EDB

Accessibility & contrast

On white

9.04
#5C29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5C29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29A6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29A6#FFFFFF#000000##FFFFFF
##5C29A61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#484A66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c29a6;
/* rgb */ color: rgb(92, 41, 166);
/* oklch */ color: oklch(42.7% 0.186 296.1);
Tailwind
colors: {
  custom: {
    50: '#9168c1',
    500: '#5c29a6',
    950: '#000000',
  },
}
SCSS
$custom: #5c29a6;
$custom-light: #9168c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29a6",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 264.48,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.1859,
    "h": 296.1
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#5C29A6
secondary
#9EC269
accent
#E444A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5C29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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