#4C29AC#4C29AC

#4C29AC is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.193 H 286.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4C29AC
RGBrgb(76, 41, 172)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(55.8%, 76.2%, 0%, 32.5%)
CIE-LABlab(29.66, 48.43, -64.04)
CIE-LCHlch(29.66, 80.29, 307.10°)
OKLaboklab(41.53% 0.0559 -0.1843)
OKLCHoklch(41.53% 0.193 286.9)
XYZxyz(11.2176, 6.1003, 39.6081)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29AC #89AC29
analogous
#2947AC #4C29AC #8E29AC
triadic
#4C29AC #AC4C29 #29AC4C
tetradic
#4C29AC #AC2947 #89AC29 #29AC8E
square
#4C29AC #AC2947 #89AC29 #29AC8E
split-complementary
#4C29AC #AC8E29 #47AC29
monochromatic
#201149 #361D7B #4C29AC #6741D2 #8F72DD

Accessibility & contrast

On white

9.46
#4C29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4C29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29AC
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29AC#FFFFFF#000000##FFFFFF
##4C29AC1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#214E69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c29ac;
/* rgb */ color: rgb(76, 41, 172);
/* oklch */ color: oklch(41.5% 0.193 286.9);
Tailwind
colors: {
  custom: {
    50: '#8967c6',
    500: '#4c29ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c29ac;
$custom-light: #8967c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29ac",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 256.031,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.1926,
    "h": 286.9
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#4C29AC
secondary
#ADC56C
accent
#E543B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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