#4D29C1#4D29C1

#4D29C1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.216 H 283.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4D29C1
RGBrgb(77, 41, 193)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 79%, 76%)
CMYKcmyk(60.1%, 78.8%, 0%, 24.3%)
CIE-LABlab(31.84, 54.53, -72.93)
CIE-LCHlch(31.84, 91.06, 306.79°)
OKLaboklab(43.7% 0.0514 -0.2102)
OKLCHoklch(43.7% 0.216 283.7)
XYZxyz(13.4762, 7.0130, 51.0853)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29C1 #9DC129
analogous
#2951C1 #4D29C1 #9929C1
triadic
#4D29C1 #C14D29 #29C14D
tetradic
#4D29C1 #C12951 #9DC129 #29C199
square
#4D29C1 #C12951 #9DC129 #29C199
split-complementary
#4D29C1 #C19929 #51C129
monochromatic
#25145C #391E8F #4D29C1 #6F4ED9 #9880E4

Accessibility & contrast

On white

8.74
#4D29C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4D29C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29C1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29C1#FFFFFF#000000##FFFFFF
##4D29C11.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005675
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d29c1;
/* rgb */ color: rgb(77, 41, 193);
/* oklch */ color: oklch(43.7% 0.216 283.7);
Tailwind
colors: {
  custom: {
    50: '#8d68d5',
    500: '#4d29c1',
    950: '#000000',
  },
}
SCSS
$custom: #4d29c1;
$custom-light: #8d68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29c1",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 254.211,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43696,
    "c": 0.21645,
    "h": 283.7
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#4D29C1
secondary
#B9CD79
accent
#E840C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4D29C1

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

Preview Lab → · Contrast checker → · Palette generator →

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