#4D29AE#4D29AE

#4D29AE is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.195 H 287.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4D29AE
RGBrgb(77, 41, 174)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 76%, 68%)
CMYKcmyk(55.7%, 76.4%, 0%, 31.8%)
CIE-LABlab(29.96, 49.14, -64.75)
CIE-LCHlch(29.96, 81.29, 307.20°)
OKLaboklab(41.82% 0.0569 -0.1863)
OKLCHoklch(41.82% 0.195 287)
XYZxyz(11.4912, 6.2190, 40.6311)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29AE #8AAE29
analogous
#2947AE #4D29AE #9029AE
triadic
#4D29AE #AE4D29 #29AE4D
tetradic
#4D29AE #AE2947 #8AAE29 #29AE90
square
#4D29AE #AE2947 #8AAE29 #29AE90
split-complementary
#4D29AE #AE9029 #47AE29
monochromatic
#21124B #371D7C #4D29AE #6942D2 #9073DE

Accessibility & contrast

On white

9.36
#4D29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4D29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29AE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29AE#FFFFFF#000000##FFFFFF
##4D29AE1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#224F6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d29ae;
/* rgb */ color: rgb(77, 41, 174);
/* oklch */ color: oklch(41.8% 0.195 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a67c7',
    500: '#4d29ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d29ae;
$custom-light: #8a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29ae",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 256.241,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.19484,
    "h": 287
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#4D29AE
secondary
#AEC56D
accent
#E543B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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