#4D29AB#4D29AB

#4D29AB is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.191 H 287.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4D29AB
RGBrgb(77, 41, 171)
HSLhsl(257, 61%, 42%)
HSVhsv(257, 76%, 67%)
CMYKcmyk(55%, 76%, 0%, 32.9%)
CIE-LABlab(29.67, 48.28, -63.42)
CIE-LCHlch(29.67, 79.71, 307.28°)
OKLaboklab(41.53% 0.0577 -0.1825)
OKLCHoklch(41.53% 0.191 287.6)
XYZxyz(11.2020, 6.1033, 39.1080)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29AB #87AB29
analogous
#2946AB #4D29AB #8E29AB
triadic
#4D29AB #AB4D29 #29AB4D
tetradic
#4D29AB #AB2946 #87AB29 #29AB8E
square
#4D29AB #AB2946 #87AB29 #29AB8E
split-complementary
#4D29AB #AB8E29 #46AB29
monochromatic
#211148 #371D7A #4D29AB #6840D1 #8F71DD

Accessibility & contrast

On white

9.46
#4D29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29AB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29AB#FFFFFF#000000##FFFFFF
##4D29AB1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#254D68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d29ab;
/* rgb */ color: rgb(77, 41, 171);
/* oklch */ color: oklch(41.5% 0.191 287.6);
Tailwind
colors: {
  custom: {
    50: '#8967c5',
    500: '#4d29ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d29ab;
$custom-light: #8967c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29ab",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 256.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.19138,
    "h": 287.6
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#4D29AB
secondary
#ACC46C
accent
#E443B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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