#4C29B4#4C29B4

#4C29B4 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.202 H 285.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4C29B4
RGBrgb(76, 41, 180)
HSLhsl(255, 63%, 43%)
HSVhsv(255, 77%, 71%)
CMYKcmyk(57.8%, 77.2%, 0%, 29.4%)
CIE-LABlab(30.44, 50.72, -67.54)
CIE-LCHlch(30.44, 84.47, 306.90°)
OKLaboklab(42.31% 0.0537 -0.1945)
OKLCHoklch(42.31% 0.202 285.4)
XYZxyz(12.0092, 6.4169, 43.7770)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29B4 #91B429
analogous
#294BB4 #4C29B4 #9129B4
triadic
#4C29B4 #B44C29 #29B44C
tetradic
#4C29B4 #B4294B #91B429 #29B491
square
#4C29B4 #B4294B #91B429 #29B491
split-complementary
#4C29B4 #B49129 #4BB429
monochromatic
#221250 #371E82 #4C29B4 #6A45D5 #9277E0

Accessibility & contrast

On white

9.20
#4C29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4C29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29B4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29B4#FFFFFF#000000##FFFFFF
##4C29B41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#15516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c29b4;
/* rgb */ color: rgb(76, 41, 180);
/* oklch */ color: oklch(42.3% 0.202 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a67cc',
    500: '#4c29b4',
    950: '#000000',
  },
}
SCSS
$custom: #4c29b4;
$custom-light: #8a67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29b4",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 255.108,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.20183,
    "h": 285.4
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#4C29B4
secondary
#B2C871
accent
#E642BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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