#4A29A3#4A29A3

#4A29A3 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.182 H 287.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4A29A3
RGBrgb(74, 41, 163)
HSLhsl(256, 60%, 40%)
HSVhsv(256, 75%, 64%)
CMYKcmyk(54.6%, 74.8%, 0%, 36.1%)
CIE-LABlab(28.60, 45.55, -60.36)
CIE-LCHlch(28.60, 75.62, 307.04°)
OKLaboklab(40.48% 0.0553 -0.1736)
OKLCHoklch(40.48% 0.182 287.7)
XYZxyz(10.2259, 5.6855, 35.2018)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29A3 #82A329
analogous
#2945A3 #4A29A3 #8729A3
triadic
#4A29A3 #A34A29 #29A34A
tetradic
#4A29A3 #A32945 #82A329 #29A387
square
#4A29A3 #A32945 #82A329 #29A387
split-complementary
#4A29A3 #A38729 #45A329
monochromatic
#1E1041 #341D72 #4A29A3 #633BCE #8A6CDA

Accessibility & contrast

On white

9.83
#4A29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29A3
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29A3#FFFFFF#000000##FFFFFF
##4A29A31.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#254A64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a29a3;
/* rgb */ color: rgb(74, 41, 163);
/* oklch */ color: oklch(40.5% 0.182 287.7);
Tailwind
colors: {
  custom: {
    50: '#8666bf',
    500: '#4a29a3',
    950: '#000000',
  },
}
SCSS
$custom: #4a29a3;
$custom-light: #8666bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29a3",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 256.23,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.40478,
    "c": 0.18218,
    "h": 287.7
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#4A29A3
secondary
#A8C167
accent
#E345B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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