#4D29BD#4D29BD

#4D29BD is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.212 H 284.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4D29BD
RGBrgb(77, 41, 189)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(59.3%, 78.3%, 0%, 25.9%)
CIE-LABlab(31.43, 53.40, -71.24)
CIE-LCHlch(31.43, 89.03, 306.86°)
OKLaboklab(43.29% 0.0526 -0.2053)
OKLCHoklch(43.29% 0.212 284.4)
XYZxyz(13.0360, 6.8369, 48.7670)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29BD #99BD29
analogous
#294FBD #4D29BD #9729BD
triadic
#4D29BD #BD4D29 #29BD4D
tetradic
#4D29BD #BD294F #99BD29 #29BD97
square
#4D29BD #BD294F #99BD29 #29BD97
split-complementary
#4D29BD #BD9729 #4FBD29
monochromatic
#241358 #391E8B #4D29BD #6D4BD8 #967DE3

Accessibility & contrast

On white

8.87
#4D29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4D29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29BD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29BD#FFFFFF#000000##FFFFFF
##4D29BD1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#025573
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d29bd;
/* rgb */ color: rgb(77, 41, 189);
/* oklch */ color: oklch(43.3% 0.212 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c68d2',
    500: '#4d29bd',
    950: '#000000',
  },
}
SCSS
$custom: #4d29bd;
$custom-light: #8c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29bd",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 254.595,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43294,
    "c": 0.21196,
    "h": 284.4
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#4D29BD
secondary
#B7CB77
accent
#E740BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4D29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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