#5C29A7#5C29A7

#5C29A7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.187 H 295.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5C29A7
RGBrgb(92, 41, 167)
HSLhsl(264, 61%, 41%)
HSVhsv(264, 75%, 65%)
CMYKcmyk(44.9%, 75.4%, 0%, 34.5%)
CIE-LABlab(31.00, 49.50, -58.78)
CIE-LCHlch(31.00, 76.84, 310.10°)
OKLaboklab(42.74% 0.0814 -0.1683)
OKLCHoklch(42.74% 0.187 295.8)
XYZxyz(12.1798, 6.6509, 37.1938)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29A7 #74A729
analogous
#2935A7 #5C29A7 #9B29A7
triadic
#5C29A7 #A75C29 #29A75C
tetradic
#5C29A7 #A72935 #74A729 #29A79B
square
#5C29A7 #A72935 #74A729 #29A79B
split-complementary
#5C29A7 #A79B29 #35A729
monochromatic
#261145 #411D76 #5C29A7 #793ED0 #9B6FDC

Accessibility & contrast

On white

9.01
#5C29A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C29A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29A7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29A7#FFFFFF#000000##FFFFFF
##5C29A71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#474A66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c29a7;
/* rgb */ color: rgb(92, 41, 167);
/* oklch */ color: oklch(42.7% 0.187 295.8);
Tailwind
colors: {
  custom: {
    50: '#9168c2',
    500: '#5c29a7',
    950: '#000000',
  },
}
SCSS
$custom: #5c29a7;
$custom-light: #9168c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29a7",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 264.286,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.187,
    "h": 295.8
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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