#4D29A4#4D29A4

#4D29A4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.183 H 289.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4D29A4
RGBrgb(77, 41, 164)
HSLhsl(258, 60%, 40%)
HSVhsv(258, 75%, 64%)
CMYKcmyk(53%, 75%, 0%, 35.7%)
CIE-LABlab(29.01, 46.28, -60.28)
CIE-LCHlch(29.01, 76.00, 307.52°)
OKLaboklab(40.87% 0.0595 -0.1733)
OKLCHoklch(40.87% 0.183 289)
XYZxyz(10.5524, 5.8435, 35.6866)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29A4 #80A429
analogous
#2942A4 #4D29A4 #8A29A4
triadic
#4D29A4 #A44D29 #29A44D
tetradic
#4D29A4 #A42942 #80A429 #29A48A
square
#4D29A4 #A42942 #80A429 #29A48A
split-complementary
#4D29A4 #A48A29 #42A429
monochromatic
#1F1142 #361D73 #4D29A4 #673CCE #8D6DDA

Accessibility & contrast

On white

9.68
#4D29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29A4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29A4#FFFFFF#000000##FFFFFF
##4D29A41.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#2C4B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d29a4;
/* rgb */ color: rgb(77, 41, 164);
/* oklch */ color: oklch(40.9% 0.183 289.0);
Tailwind
colors: {
  custom: {
    50: '#8867c0',
    500: '#4d29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4d29a4;
$custom-light: #8867c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29a4",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 257.561,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.18321,
    "h": 289
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#4D29A4
secondary
#A7C168
accent
#E345B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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