#4A29A9#4A29A9

#4A29A9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.189 H 286.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4A29A9
RGBrgb(74, 41, 169)
HSLhsl(255, 61%, 41%)
HSVhsv(255, 76%, 66%)
CMYKcmyk(56.2%, 75.7%, 0%, 33.7%)
CIE-LABlab(29.17, 47.29, -63.05)
CIE-LCHlch(29.17, 78.81, 306.87°)
OKLaboklab(41.05% 0.0537 -0.1815)
OKLCHoklch(41.05% 0.189 286.5)
XYZxyz(10.7763, 5.9057, 38.1005)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29A9 #88A929
analogous
#2948A9 #4A29A9 #8A29A9
triadic
#4A29A9 #A94A29 #29A94A
tetradic
#4A29A9 #A92948 #88A929 #29A98A
square
#4A29A9 #A92948 #88A929 #29A98A
split-complementary
#4A29A9 #A98A29 #48A929
monochromatic
#1F1146 #341D78 #4A29A9 #643FD0 #8C70DC

Accessibility & contrast

On white

9.63
#4A29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29A9
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29A9#FFFFFF#000000##FFFFFF
##4A29A91.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#1F4D67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a29a9;
/* rgb */ color: rgb(74, 41, 169);
/* oklch */ color: oklch(41.1% 0.189 286.5);
Tailwind
colors: {
  custom: {
    50: '#8767c4',
    500: '#4a29a9',
    950: '#000000',
  },
}
SCSS
$custom: #4a29a9;
$custom-light: #8767c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29a9",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 255.469,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.18926,
    "h": 286.5
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#4A29A9
secondary
#ACC36A
accent
#E444BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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