#4D29C3#4D29C3

#4D29C3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.219 H 283.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4D29C3
RGBrgb(77, 41, 195)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 79%, 76%)
CMYKcmyk(60.5%, 79%, 0%, 23.5%)
CIE-LABlab(32.04, 55.09, -73.77)
CIE-LCHlch(32.04, 92.07, 306.75°)
OKLaboklab(43.9% 0.0508 -0.2127)
OKLCHoklch(43.9% 0.219 283.4)
XYZxyz(13.7008, 7.1029, 52.2682)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29C3 #9FC329
analogous
#2952C3 #4D29C3 #9A29C3
triadic
#4D29C3 #C34D29 #29C34D
tetradic
#4D29C3 #C32952 #9FC329 #29C39A
square
#4D29C3 #C32952 #9FC329 #29C39A
split-complementary
#4D29C3 #C39A29 #52C329
monochromatic
#25145E #391E90 #4D29C3 #704FDA #9982E5

Accessibility & contrast

On white

8.67
#4D29C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D29C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29C3
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29C3#FFFFFF#000000##FFFFFF
##4D29C31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d29c3;
/* rgb */ color: rgb(77, 41, 195);
/* oklch */ color: oklch(43.9% 0.219 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d68d7',
    500: '#4d29c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d29c3;
$custom-light: #8d68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29c3",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 195
  },
  "hsl": {
    "h": 254.026,
    "s": 65.254,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.21869,
    "h": 283.4
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#4D29C3
secondary
#BACE7A
accent
#E840C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4D29C3

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

Preview Lab → · Contrast checker → · Palette generator →

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