#4D29B4#4D29B4

#4D29B4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.202 H 285.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4D29B4
RGBrgb(77, 41, 180)
HSLhsl(256, 63%, 43%)
HSVhsv(256, 77%, 71%)
CMYKcmyk(57.2%, 77.2%, 0%, 29.4%)
CIE-LABlab(30.54, 50.85, -67.38)
CIE-LCHlch(30.54, 84.41, 307.04°)
OKLaboklab(42.4% 0.0552 -0.194)
OKLCHoklch(42.4% 0.202 285.9)
XYZxyz(12.0892, 6.4582, 43.7807)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B4 #90B429
analogous
#294AB4 #4D29B4 #9229B4
triadic
#4D29B4 #B44D29 #29B44D
tetradic
#4D29B4 #B4294A #90B429 #29B492
square
#4D29B4 #B4294A #90B429 #29B492
split-complementary
#4D29B4 #B49229 #4AB429
monochromatic
#221250 #381E82 #4D29B4 #6B45D5 #9277E0

Accessibility & contrast

On white

9.16
#4D29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B4#FFFFFF#000000##FFFFFF
##4D29B41.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#19516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d29b4;
/* rgb */ color: rgb(77, 41, 180);
/* oklch */ color: oklch(42.4% 0.202 285.9);
Tailwind
colors: {
  custom: {
    50: '#8b67cc',
    500: '#4d29b4',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b4;
$custom-light: #8b67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b4",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 255.54,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.20174,
    "h": 285.9
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#4D29B4
secondary
#B1C871
accent
#E642BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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