#4A29AE#4A29AE

#4A29AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.195 H 285.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4A29AE
RGBrgb(74, 41, 174)
HSLhsl(255, 62%, 42%)
HSVhsv(255, 76%, 68%)
CMYKcmyk(57.5%, 76.4%, 0%, 31.8%)
CIE-LABlab(29.66, 48.74, -65.26)
CIE-LCHlch(29.66, 81.45, 306.75°)
OKLaboklab(41.54% 0.0524 -0.1879)
OKLCHoklch(41.54% 0.195 285.6)
XYZxyz(11.2546, 6.0970, 40.6200)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29AE #8DAE29
analogous
#294BAE #4A29AE #8C29AE
triadic
#4A29AE #AE4A29 #29AE4A
tetradic
#4A29AE #AE294B #8DAE29 #29AE8C
square
#4A29AE #AE294B #8DAE29 #29AE8C
split-complementary
#4A29AE #AE8C29 #4BAE29
monochromatic
#20124B #351D7C #4A29AE #6642D2 #8E73DE

Accessibility & contrast

On white

9.46
#4A29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4A29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29AE
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29AE#FFFFFF#000000##FFFFFF
##4A29AE1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#174F6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a29ae;
/* rgb */ color: rgb(74, 41, 174);
/* oklch */ color: oklch(41.5% 0.195 285.6);
Tailwind
colors: {
  custom: {
    50: '#8867c7',
    500: '#4a29ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a29ae;
$custom-light: #8867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29ae",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 254.887,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41536,
    "c": 0.1951,
    "h": 285.6
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#4A29AE
secondary
#B0C56D
accent
#E543BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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