#4A29B9#4A29B9

#4A29B9 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.208 H 283.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4A29B9
RGBrgb(74, 41, 185)
HSLhsl(254, 64%, 44%)
HSVhsv(254, 78%, 73%)
CMYKcmyk(60%, 77.8%, 0%, 27.5%)
CIE-LABlab(30.74, 51.91, -70.02)
CIE-LCHlch(30.74, 87.16, 306.55°)
OKLaboklab(42.63% 0.0493 -0.2018)
OKLCHoklch(42.63% 0.208 283.7)
XYZxyz(12.3712, 6.5437, 46.5007)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29B9 #98B929
analogous
#2950B9 #4A29B9 #9229B9
triadic
#4A29B9 #B94A29 #29B94A
tetradic
#4A29B9 #B92950 #98B929 #29B992
square
#4A29B9 #B92950 #98B929 #29B992
split-complementary
#4A29B9 #B99229 #50B929
monochromatic
#221355 #361E87 #4A29B9 #6949D7 #927BE2

Accessibility & contrast

On white

9.09
#4A29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29B9
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29B9#FFFFFF#000000##FFFFFF
##4A29B91.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a29b9;
/* rgb */ color: rgb(74, 41, 185);
/* oklch */ color: oklch(42.6% 0.208 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a67cf',
    500: '#4a29b9',
    950: '#000000',
  },
}
SCSS
$custom: #4a29b9;
$custom-light: #8a67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29b9",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 253.75,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.20778,
    "h": 283.7
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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