#4A29A4#4A29A4

#4A29A4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.183 H 287.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4A29A4
RGBrgb(74, 41, 164)
HSLhsl(256, 60%, 40%)
HSVhsv(256, 75%, 64%)
CMYKcmyk(54.9%, 75%, 0%, 35.7%)
CIE-LABlab(28.70, 45.84, -60.81)
CIE-LCHlch(28.70, 76.15, 307.01°)
OKLaboklab(40.57% 0.055 -0.1749)
OKLCHoklch(40.57% 0.183 287.5)
XYZxyz(10.3158, 5.7215, 35.6756)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29A4 #83A429
analogous
#2945A4 #4A29A4 #8829A4
triadic
#4A29A4 #A44A29 #29A44A
tetradic
#4A29A4 #A42945 #83A429 #29A488
square
#4A29A4 #A42945 #83A429 #29A488
split-complementary
#4A29A4 #A48829 #45A429
monochromatic
#1E1142 #341D73 #4A29A4 #633CCE #8A6DDA

Accessibility & contrast

On white

9.79
#4A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29A4
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29A4#FFFFFF#000000##FFFFFF
##4A29A41.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#244B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a29a4;
/* rgb */ color: rgb(74, 41, 164);
/* oklch */ color: oklch(40.6% 0.183 287.5);
Tailwind
colors: {
  custom: {
    50: '#8666c0',
    500: '#4a29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4a29a4;
$custom-light: #8666c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29a4",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 256.098,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.18337,
    "h": 287.5
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4A29A4
secondary
#A9C168
accent
#E345B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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