#4C29C1#4C29C1

#4C29C1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.217 H 283.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4C29C1
RGBrgb(76, 41, 193)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 79%, 76%)
CMYKcmyk(60.6%, 78.8%, 0%, 24.3%)
CIE-LABlab(31.74, 54.42, -73.09)
CIE-LCHlch(31.74, 91.12, 306.67°)
OKLaboklab(43.61% 0.05 -0.2107)
OKLCHoklch(43.61% 0.217 283.3)
XYZxyz(13.3961, 6.9717, 51.0815)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29C1 #9EC129
analogous
#2952C1 #4C29C1 #9829C1
triadic
#4C29C1 #C14C29 #29C14C
tetradic
#4C29C1 #C12952 #9EC129 #29C198
square
#4C29C1 #C12952 #9EC129 #29C198
split-complementary
#4C29C1 #C19829 #52C129
monochromatic
#24145C #381E8F #4C29C1 #6E4ED9 #9780E4

Accessibility & contrast

On white

8.77
#4C29C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4C29C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29C1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29C1#FFFFFF#000000##FFFFFF
##4C29C11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005675
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c29c1;
/* rgb */ color: rgb(76, 41, 193);
/* oklch */ color: oklch(43.6% 0.217 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c68d5',
    500: '#4c29c1',
    950: '#000000',
  },
}
SCSS
$custom: #4c29c1;
$custom-light: #8c68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29c1",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 253.816,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.21658,
    "h": 283.3
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#4C29C1
secondary
#B9CD79
accent
#E840C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4C29C1

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

Preview Lab → · Contrast checker → · Palette generator →

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