#4C29A4#4C29A4

#4C29A4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.183 H 288.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4C29A4
RGBrgb(76, 41, 164)
HSLhsl(257, 60%, 40%)
HSVhsv(257, 75%, 64%)
CMYKcmyk(53.7%, 75%, 0%, 35.7%)
CIE-LABlab(28.91, 46.13, -60.46)
CIE-LCHlch(28.91, 76.05, 307.34°)
OKLaboklab(40.77% 0.058 -0.1738)
OKLCHoklch(40.77% 0.183 288.5)
XYZxyz(10.4723, 5.8022, 35.6829)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29A4 #81A429
analogous
#2944A4 #4C29A4 #8929A4
triadic
#4C29A4 #A44C29 #29A44C
tetradic
#4C29A4 #A42944 #81A429 #29A489
square
#4C29A4 #A42944 #81A429 #29A489
split-complementary
#4C29A4 #A48929 #44A429
monochromatic
#1F1142 #351D73 #4C29A4 #663CCE #8C6DDA

Accessibility & contrast

On white

9.72
#4C29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4C29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29A4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29A4#FFFFFF#000000##FFFFFF
##4C29A41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#2A4B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c29a4;
/* rgb */ color: rgb(76, 41, 164);
/* oklch */ color: oklch(40.8% 0.183 288.5);
Tailwind
colors: {
  custom: {
    50: '#8867c0',
    500: '#4c29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4c29a4;
$custom-light: #8867c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29a4",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 257.073,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.18326,
    "h": 288.5
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#4C29A4
secondary
#A8C168
accent
#E345B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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