#4D29B3#4D29B3

#4D29B3 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.201 H 286.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4D29B3
RGBrgb(77, 41, 179)
HSLhsl(256, 63%, 43%)
HSVhsv(256, 77%, 70%)
CMYKcmyk(57%, 77.1%, 0%, 29.8%)
CIE-LABlab(30.44, 50.56, -66.94)
CIE-LCHlch(30.44, 83.89, 307.07°)
OKLaboklab(42.31% 0.0555 -0.1928)
OKLCHoklch(42.31% 0.201 286.1)
XYZxyz(11.9877, 6.4176, 43.2461)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B3 #8FB329
analogous
#294AB3 #4D29B3 #9229B3
triadic
#4D29B3 #B34D29 #29B34D
tetradic
#4D29B3 #B3294A #8FB329 #29B392
square
#4D29B3 #B3294A #8FB329 #29B392
split-complementary
#4D29B3 #B39229 #4AB329
monochromatic
#22124F #381E81 #4D29B3 #6A45D4 #9277E0

Accessibility & contrast

On white

9.20
#4D29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B3
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B3#FFFFFF#000000##FFFFFF
##4D29B31.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1B516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d29b3;
/* rgb */ color: rgb(77, 41, 179);
/* oklch */ color: oklch(42.3% 0.201 286.1);
Tailwind
colors: {
  custom: {
    50: '#8b67cb',
    500: '#4d29b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b3;
$custom-light: #8b67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b3",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 255.652,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.20059,
    "h": 286.1
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#4D29B3
secondary
#B1C770
accent
#E642BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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