#4C29AB#4C29AB

#4C29AB is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.191 H 287.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4C29AB
RGBrgb(76, 41, 171)
HSLhsl(256, 61%, 42%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(55.6%, 76%, 0%, 32.9%)
CIE-LABlab(29.57, 48.14, -63.60)
CIE-LCHlch(29.57, 79.76, 307.13°)
OKLaboklab(41.44% 0.0562 -0.183)
OKLCHoklch(41.44% 0.191 287.1)
XYZxyz(11.1219, 6.0621, 39.1042)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29AB #88AB29
analogous
#2947AB #4C29AB #8D29AB
triadic
#4C29AB #AB4C29 #29AB4C
tetradic
#4C29AB #AB2947 #88AB29 #29AB8D
square
#4C29AB #AB2947 #88AB29 #29AB8D
split-complementary
#4C29AB #AB8D29 #47AB29
monochromatic
#201148 #361D7A #4C29AB #6740D1 #8E71DD

Accessibility & contrast

On white

9.49
#4C29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C29AB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29AB#FFFFFF#000000##FFFFFF
##4C29AB1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#224D68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c29ab;
/* rgb */ color: rgb(76, 41, 171);
/* oklch */ color: oklch(41.4% 0.191 287.1);
Tailwind
colors: {
  custom: {
    50: '#8967c5',
    500: '#4c29ab',
    950: '#000000',
  },
}
SCSS
$custom: #4c29ab;
$custom-light: #8967c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29ab",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 256.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.19144,
    "h": 287.1
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#4C29AB
secondary
#ACC46C
accent
#E443B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4C29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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