#4A29BA#4A29BA

#4A29BA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.209 H 283.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4A29BA
RGBrgb(74, 41, 186)
HSLhsl(254, 64%, 45%)
HSVhsv(254, 78%, 73%)
CMYKcmyk(60.2%, 78%, 0%, 27.1%)
CIE-LABlab(30.85, 52.19, -70.45)
CIE-LCHlch(30.85, 87.67, 306.54°)
OKLaboklab(42.73% 0.049 -0.2031)
OKLCHoklch(42.73% 0.209 283.6)
XYZxyz(12.4772, 6.5861, 47.0586)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29BA #99BA29
analogous
#2951BA #4A29BA #9329BA
triadic
#4A29BA #BA4A29 #29BA4A
tetradic
#4A29BA #BA2951 #99BA29 #29BA93
square
#4A29BA #BA2951 #99BA29 #29BA93
split-complementary
#4A29BA #BA9329 #51BA29
monochromatic
#221356 #361E88 #4A29BA #6A49D7 #937BE2

Accessibility & contrast

On white

9.06
#4A29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4A29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29BA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29BA#FFFFFF#000000##FFFFFF
##4A29BA1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a29ba;
/* rgb */ color: rgb(74, 41, 186);
/* oklch */ color: oklch(42.7% 0.209 283.6);
Tailwind
colors: {
  custom: {
    50: '#8a68d0',
    500: '#4a29ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a29ba;
$custom-light: #8a68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29ba",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 253.655,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.20891,
    "h": 283.6
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#4A29BA
secondary
#B7CA75
accent
#E741C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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