#4C29CA#4C29CA

#4C29CA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.227 H 282.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4C29CA
RGBrgb(76, 41, 202)
HSLhsl(253, 66%, 48%)
HSVhsv(253, 80%, 79%)
CMYKcmyk(62.4%, 79.7%, 0%, 20.8%)
CIE-LABlab(32.67, 56.96, -76.83)
CIE-LCHlch(32.67, 95.64, 306.55°)
OKLaboklab(44.53% 0.0473 -0.2216)
OKLCHoklch(44.53% 0.227 282)
XYZxyz(14.4308, 7.3856, 56.5308)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29CA #A7CA29
analogous
#2957CA #4C29CA #9C29CA
triadic
#4C29CA #CA4C29 #29CA4C
tetradic
#4C29CA #CA2957 #A7CA29 #29CA9C
square
#4C29CA #CA2957 #A7CA29 #29CA9C
split-complementary
#4C29CA #CA9C29 #57CA29
monochromatic
#261464 #391F97 #4C29CA #7254DC #9C87E7

Accessibility & contrast

On white

8.48
#4C29CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4C29CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29CA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29CA#FFFFFF#000000##FFFFFF
##4C29CA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c29ca;
/* rgb */ color: rgb(76, 41, 202);
/* oklch */ color: oklch(44.5% 0.227 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e69dc',
    500: '#4c29ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c29ca;
$custom-light: #8e69dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29ca",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 253.043,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.22663,
    "h": 282
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#4C29CA
secondary
#BED07F
accent
#E93FC4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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