#4A29BD#4A29BD

#4A29BD is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.212 H 283.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4A29BD
RGBrgb(74, 41, 189)
HSLhsl(253, 64%, 45%)
HSVhsv(253, 78%, 74%)
CMYKcmyk(60.8%, 78.3%, 0%, 25.9%)
CIE-LABlab(31.15, 53.05, -71.72)
CIE-LCHlch(31.15, 89.21, 306.49°)
OKLaboklab(43.03% 0.0482 -0.2068)
OKLCHoklch(43.03% 0.212 283.1)
XYZxyz(12.7994, 6.7150, 48.7559)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29BD #9CBD29
analogous
#2952BD #4A29BD #9429BD
triadic
#4A29BD #BD4A29 #29BD4A
tetradic
#4A29BD #BD2952 #9CBD29 #29BD94
square
#4A29BD #BD2952 #9CBD29 #29BD94
split-complementary
#4A29BD #BD9429 #52BD29
monochromatic
#231358 #361E8B #4A29BD #6B4BD8 #947DE3

Accessibility & contrast

On white

8.96
#4A29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29BD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29BD#FFFFFF#000000##FFFFFF
##4A29BD1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a29bd;
/* rgb */ color: rgb(74, 41, 189);
/* oklch */ color: oklch(43.0% 0.212 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b68d2',
    500: '#4a29bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a29bd;
$custom-light: #8b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29bd",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 253.378,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.21233,
    "h": 283.1
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#4A29BD
secondary
#B8CB77
accent
#E740C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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