#5C29A2#5C29A2

#5C29A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.181 H 297.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#5C29A2
RGBrgb(92, 41, 162)
HSLhsl(265, 60%, 40%)
HSVhsv(265, 75%, 64%)
CMYKcmyk(43.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(30.57, 48.19, -56.46)
CIE-LCHlch(30.57, 74.23, 310.48°)
OKLaboklab(42.31% 0.0827 -0.1615)
OKLCHoklch(42.31% 0.181 297.1)
XYZxyz(11.7265, 6.4696, 34.8063)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29A2 #6FA229
analogous
#2933A2 #5C29A2 #9829A2
triadic
#5C29A2 #A25C29 #29A25C
tetradic
#5C29A2 #A22933 #6FA229 #29A298
square
#5C29A2 #A22933 #6FA229 #29A298
split-complementary
#5C29A2 #A29829 #33A229
monochromatic
#251040 #401D71 #5C29A2 #793BCD #9A6CDA

Accessibility & contrast

On white

9.15
#5C29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5C29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29A2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29A2#FFFFFF#000000##FFFFFF
##5C29A21.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#4A4863
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c29a2;
/* rgb */ color: rgb(92, 41, 162);
/* oklch */ color: oklch(42.3% 0.181 297.1);
Tailwind
colors: {
  custom: {
    50: '#9168be',
    500: '#5c29a2',
    950: '#000000',
  },
}
SCSS
$custom: #5c29a2;
$custom-light: #9168be;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29a2",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 265.289,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.18146,
    "h": 297.1
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#5C29A2
secondary
#9AC067
accent
#E345A0
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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