#4D29B9#4D29B9

#4D29B9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.207 H 285.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4D29B9
RGBrgb(77, 41, 185)
HSLhsl(255, 64%, 44%)
HSVhsv(255, 78%, 73%)
CMYKcmyk(58.4%, 77.8%, 0%, 27.5%)
CIE-LABlab(31.03, 52.27, -69.53)
CIE-LCHlch(31.03, 86.99, 306.93°)
OKLaboklab(42.9% 0.0538 -0.2003)
OKLCHoklch(42.9% 0.207 285)
XYZxyz(12.6078, 6.6657, 46.5118)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B9 #95B929
analogous
#294DB9 #4D29B9 #9529B9
triadic
#4D29B9 #B94D29 #29B94D
tetradic
#4D29B9 #B9294D #95B929 #29B995
square
#4D29B9 #B9294D #95B929 #29B995
split-complementary
#4D29B9 #B99529 #4DB929
monochromatic
#231355 #381E87 #4D29B9 #6C49D7 #947BE2

Accessibility & contrast

On white

9.00
#4D29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B9#FFFFFF#000000##FFFFFF
##4D29B91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#0F5370
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d29b9;
/* rgb */ color: rgb(77, 41, 185);
/* oklch */ color: oklch(42.9% 0.207 285.0);
Tailwind
colors: {
  custom: {
    50: '#8c68cf',
    500: '#4d29b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b9;
$custom-light: #8c68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b9",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 255,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.20743,
    "h": 285
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#4D29B9
secondary
#B4CA74
accent
#E741BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4D29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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