#4C29C0#4C29C0

#4C29C0 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.215 H 283.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4C29C0
RGBrgb(76, 41, 192)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 79%, 75%)
CMYKcmyk(60.4%, 78.6%, 0%, 24.7%)
CIE-LABlab(31.64, 54.14, -72.67)
CIE-LCHlch(31.64, 90.62, 306.68°)
OKLaboklab(43.51% 0.0503 -0.2095)
OKLCHoklch(43.51% 0.215 283.5)
XYZxyz(13.2849, 6.9273, 50.4960)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29C0 #9DC029
analogous
#2952C0 #4C29C0 #9729C0
triadic
#4C29C0 #C04C29 #29C04C
tetradic
#4C29C0 #C02952 #9DC029 #29C097
square
#4C29C0 #C02952 #9DC029 #29C097
split-complementary
#4C29C0 #C09729 #52C029
monochromatic
#24135B #381E8E #4C29C0 #6E4DD9 #9780E4

Accessibility & contrast

On white

8.80
#4C29C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C29C0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29C0#FFFFFF#000000##FFFFFF
##4C29C01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c29c0;
/* rgb */ color: rgb(76, 41, 192);
/* oklch */ color: oklch(43.5% 0.215 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c68d4',
    500: '#4c29c0',
    950: '#000000',
  },
}
SCSS
$custom: #4c29c0;
$custom-light: #8c68d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29c0",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 192
  },
  "hsl": {
    "h": 253.907,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.21546,
    "h": 283.5
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#4C29C0
secondary
#B9CC78
accent
#E840C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C29C0

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

Preview Lab → · Contrast checker → · Palette generator →

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