#4A29AC#4A29AC

#4A29AC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.193 H 285.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4A29AC
RGBrgb(74, 41, 172)
HSLhsl(255, 62%, 42%)
HSVhsv(255, 76%, 67%)
CMYKcmyk(57%, 76.2%, 0%, 32.5%)
CIE-LABlab(29.46, 48.16, -64.38)
CIE-LCHlch(29.46, 80.40, 306.80°)
OKLaboklab(41.34% 0.0529 -0.1854)
OKLCHoklch(41.34% 0.193 285.9)
XYZxyz(11.0611, 6.0196, 39.6008)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29AC #8BAC29
analogous
#2949AC #4A29AC #8C29AC
triadic
#4A29AC #AC4A29 #29AC4A
tetradic
#4A29AC #AC2949 #8BAC29 #29AC8C
square
#4A29AC #AC2949 #8BAC29 #29AC8C
split-complementary
#4A29AC #AC8C29 #49AC29
monochromatic
#1F1149 #351D7B #4A29AC #6541D2 #8D72DD

Accessibility & contrast

On white

9.53
#4A29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29AC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29AC#FFFFFF#000000##FFFFFF
##4A29AC1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#1A4E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a29ac;
/* rgb */ color: rgb(74, 41, 172);
/* oklch */ color: oklch(41.3% 0.193 285.9);
Tailwind
colors: {
  custom: {
    50: '#8867c6',
    500: '#4a29ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a29ac;
$custom-light: #8867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29ac",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 255.115,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.19277,
    "h": 285.9
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#4A29AC
secondary
#AEC56C
accent
#E543BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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