#4D29CA#4D29CA

#4D29CA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.226 H 282.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4D29CA
RGBrgb(77, 41, 202)
HSLhsl(253, 66%, 48%)
HSVhsv(253, 80%, 79%)
CMYKcmyk(61.9%, 79.7%, 0%, 20.8%)
CIE-LABlab(32.76, 57.06, -76.68)
CIE-LCHlch(32.76, 95.58, 306.65°)
OKLaboklab(44.61% 0.0487 -0.2212)
OKLCHoklch(44.61% 0.226 282.4)
XYZxyz(14.5108, 7.4269, 56.5345)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29CA #A6CA29
analogous
#2956CA #4D29CA #9D29CA
triadic
#4D29CA #CA4D29 #29CA4D
tetradic
#4D29CA #CA2956 #A6CA29 #29CA9D
square
#4D29CA #CA2956 #A6CA29 #29CA9D
split-complementary
#4D29CA #CA9D29 #56CA29
monochromatic
#261464 #3A1F97 #4D29CA #7254DC #9C87E7

Accessibility & contrast

On white

8.45
#4D29CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4D29CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29CA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29CA#FFFFFF#000000##FFFFFF
##4D29CA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d29ca;
/* rgb */ color: rgb(77, 41, 202);
/* oklch */ color: oklch(44.6% 0.226 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e69dc',
    500: '#4d29ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d29ca;
$custom-light: #8e69dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29ca",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 253.416,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.22648,
    "h": 282.4
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#4D29CA
secondary
#BED07F
accent
#E93FC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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