#4A29AB#4A29AB

#4A29AB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.192 H 286.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4A29AB
RGBrgb(74, 41, 171)
HSLhsl(255, 61%, 42%)
HSVhsv(255, 76%, 67%)
CMYKcmyk(56.7%, 76%, 0%, 32.9%)
CIE-LABlab(29.37, 47.87, -63.94)
CIE-LCHlch(29.37, 79.87, 306.82°)
OKLaboklab(41.24% 0.0532 -0.1841)
OKLCHoklch(41.24% 0.192 286.1)
XYZxyz(10.9655, 5.9814, 39.0969)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29AB #8AAB29
analogous
#2949AB #4A29AB #8B29AB
triadic
#4A29AB #AB4A29 #29AB4A
tetradic
#4A29AB #AB2949 #8AAB29 #29AB8B
square
#4A29AB #AB2949 #8AAB29 #29AB8B
split-complementary
#4A29AB #AB8B29 #49AB29
monochromatic
#1F1148 #351D7A #4A29AB #6540D1 #8D71DD

Accessibility & contrast

On white

9.56
#4A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A29AB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29AB#FFFFFF#000000##FFFFFF
##4A29AB1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#1C4E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a29ab;
/* rgb */ color: rgb(74, 41, 171);
/* oklch */ color: oklch(41.2% 0.192 286.1);
Tailwind
colors: {
  custom: {
    50: '#8867c5',
    500: '#4a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #4a29ab;
$custom-light: #8867c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29ab",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 255.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.1916,
    "h": 286.1
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#4A29AB
secondary
#AEC46C
accent
#E443BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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