#4D29BC#4D29BC

#4D29BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.211 H 284.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4D29BC
RGBrgb(77, 41, 188)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(59%, 78.2%, 0%, 26.3%)
CIE-LABlab(31.33, 53.12, -70.82)
CIE-LCHlch(31.33, 88.52, 306.87°)
OKLaboklab(43.19% 0.0529 -0.2041)
OKLCHoklch(43.19% 0.211 284.5)
XYZxyz(12.9278, 6.7937, 48.1973)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29BC #98BC29
analogous
#294EBC #4D29BC #9729BC
triadic
#4D29BC #BC4D29 #29BC4D
tetradic
#4D29BC #BC294E #98BC29 #29BC97
square
#4D29BC #BC294E #98BC29 #29BC97
split-complementary
#4D29BC #BC9729 #4EBC29
monochromatic
#241358 #381E8A #4D29BC #6D4BD8 #967DE3

Accessibility & contrast

On white

8.90
#4D29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4D29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29BC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29BC#FFFFFF#000000##FFFFFF
##4D29BC1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#055472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d29bc;
/* rgb */ color: rgb(77, 41, 188);
/* oklch */ color: oklch(43.2% 0.211 284.5);
Tailwind
colors: {
  custom: {
    50: '#8c68d1',
    500: '#4d29bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d29bc;
$custom-light: #8c68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29bc",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 254.694,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.21083,
    "h": 284.5
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#4D29BC
secondary
#B6CB76
accent
#E741BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4D29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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