#4D29B6#4D29B6

#4D29B6 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.204 H 285.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4D29B6
RGBrgb(77, 41, 182)
HSLhsl(255, 63%, 44%)
HSVhsv(255, 77%, 71%)
CMYKcmyk(57.7%, 77.5%, 0%, 28.6%)
CIE-LABlab(30.74, 51.42, -68.24)
CIE-LCHlch(30.74, 85.44, 307.00°)
OKLaboklab(42.6% 0.0547 -0.1966)
OKLCHoklch(42.6% 0.204 285.5)
XYZxyz(12.2944, 6.5403, 44.8615)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B6 #92B629
analogous
#294BB6 #4D29B6 #9329B6
triadic
#4D29B6 #B64D29 #29B64D
tetradic
#4D29B6 #B6294B #92B629 #29B693
square
#4D29B6 #B6294B #92B629 #29B693
split-complementary
#4D29B6 #B69329 #4BB629
monochromatic
#231252 #381E84 #4D29B6 #6B47D5 #9379E1

Accessibility & contrast

On white

9.10
#4D29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B6
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B6#FFFFFF#000000##FFFFFF
##4D29B61.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#16526F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d29b6;
/* rgb */ color: rgb(77, 41, 182);
/* oklch */ color: oklch(42.6% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#8b68cd',
    500: '#4d29b6',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b6;
$custom-light: #8b68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b6",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 255.319,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.426,
    "c": 0.20402,
    "h": 285.5
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#4D29B6
secondary
#B3C972
accent
#E642BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4D29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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