#4C29AA#4C29AA

#4C29AA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.190 H 287.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4C29AA
RGBrgb(76, 41, 170)
HSLhsl(256, 61%, 41%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(55.3%, 75.9%, 0%, 33.3%)
CIE-LABlab(29.47, 47.86, -63.15)
CIE-LCHlch(29.47, 79.24, 307.15°)
OKLaboklab(41.34% 0.0565 -0.1817)
OKLCHoklch(41.34% 0.19 287.3)
XYZxyz(11.0270, 6.0241, 38.6041)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29AA #87AA29
analogous
#2947AA #4C29AA #8D29AA
triadic
#4C29AA #AA4C29 #29AA4C
tetradic
#4C29AA #AA2947 #87AA29 #29AA8D
square
#4C29AA #AA2947 #87AA29 #29AA8D
split-complementary
#4C29AA #AA8D29 #47AA29
monochromatic
#201147 #361D79 #4C29AA #673FD1 #8E71DD

Accessibility & contrast

On white

9.52
#4C29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4C29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29AA
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29AA#FFFFFF#000000##FFFFFF
##4C29AA1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#234D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c29aa;
/* rgb */ color: rgb(76, 41, 170);
/* oklch */ color: oklch(41.3% 0.190 287.3);
Tailwind
colors: {
  custom: {
    50: '#8967c4',
    500: '#4c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c29aa;
$custom-light: #8967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29aa",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 256.279,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.19028,
    "h": 287.3
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#4C29AA
secondary
#ACC46B
accent
#E444B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4C29AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva