#4D29AD#4D29AD

#4D29AD is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.194 H 287.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4D29AD
RGBrgb(77, 41, 173)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 76%, 68%)
CMYKcmyk(55.5%, 76.3%, 0%, 32.2%)
CIE-LABlab(29.86, 48.85, -64.31)
CIE-LCHlch(29.86, 80.76, 307.22°)
OKLaboklab(41.72% 0.0572 -0.1851)
OKLCHoklch(41.72% 0.194 287.2)
XYZxyz(11.3941, 6.1802, 40.1196)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29AD #89AD29
analogous
#2947AD #4D29AD #8F29AD
triadic
#4D29AD #AD4D29 #29AD4D
tetradic
#4D29AD #AD2947 #89AD29 #29AD8F
square
#4D29AD #AD2947 #89AD29 #29AD8F
split-complementary
#4D29AD #AD8F29 #47AD29
monochromatic
#21124A #371D7C #4D29AD #6941D2 #9073DE

Accessibility & contrast

On white

9.39
#4D29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D29AD
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29AD#FFFFFF#000000##FFFFFF
##4D29AD1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#234E69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d29ad;
/* rgb */ color: rgb(77, 41, 173);
/* oklch */ color: oklch(41.7% 0.194 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a67c7',
    500: '#4d29ad',
    950: '#000000',
  },
}
SCSS
$custom: #4d29ad;
$custom-light: #8a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29ad",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 256.364,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.19369,
    "h": 287.2
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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