#4D29B0#4D29B0

#4D29B0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.197 H 286.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4D29B0
RGBrgb(77, 41, 176)
HSLhsl(256, 62%, 43%)
HSVhsv(256, 77%, 69%)
CMYKcmyk(56.2%, 76.7%, 0%, 31%)
CIE-LABlab(30.15, 49.71, -65.63)
CIE-LCHlch(30.15, 82.33, 307.14°)
OKLaboklab(42.01% 0.0564 -0.1889)
OKLCHoklch(42.01% 0.197 286.6)
XYZxyz(11.6876, 6.2976, 41.6656)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B0 #8CB029
analogous
#2948B0 #4D29B0 #9029B0
triadic
#4D29B0 #B04D29 #29B04D
tetradic
#4D29B0 #B02948 #8CB029 #29B090
square
#4D29B0 #B02948 #8CB029 #29B090
split-complementary
#4D29B0 #B09029 #48B029
monochromatic
#22124D #371D7E #4D29B0 #6943D3 #9175DF

Accessibility & contrast

On white

9.29
#4D29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B0
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B0#FFFFFF#000000##FFFFFF
##4D29B01.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#1F4F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d29b0;
/* rgb */ color: rgb(77, 41, 176);
/* oklch */ color: oklch(42.0% 0.197 286.6);
Tailwind
colors: {
  custom: {
    50: '#8a67c9',
    500: '#4d29b0',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b0;
$custom-light: #8a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b0",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 256,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.19714,
    "h": 286.6
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#4D29B0
secondary
#AFC66F
accent
#E543BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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