#4D29B5#4D29B5

#4D29B5 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.203 H 285.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4D29B5
RGBrgb(77, 41, 181)
HSLhsl(255, 63%, 44%)
HSVhsv(255, 77%, 71%)
CMYKcmyk(57.5%, 77.3%, 0%, 29%)
CIE-LABlab(30.64, 51.13, -67.81)
CIE-LCHlch(30.64, 84.93, 307.02°)
OKLaboklab(42.5% 0.055 -0.1953)
OKLCHoklch(42.5% 0.203 285.7)
XYZxyz(12.1915, 6.4991, 44.3191)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29B5 #91B529
analogous
#294BB5 #4D29B5 #9329B5
triadic
#4D29B5 #B54D29 #29B54D
tetradic
#4D29B5 #B5294B #91B529 #29B593
square
#4D29B5 #B5294B #91B529 #29B593
split-complementary
#4D29B5 #B59329 #4BB529
monochromatic
#231251 #381E83 #4D29B5 #6B46D5 #9378E0

Accessibility & contrast

On white

9.13
#4D29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29B5
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29B5#FFFFFF#000000##FFFFFF
##4D29B51.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#18516E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d29b5;
/* rgb */ color: rgb(77, 41, 181);
/* oklch */ color: oklch(42.5% 0.203 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b68cc',
    500: '#4d29b5',
    950: '#000000',
  },
}
SCSS
$custom: #4d29b5;
$custom-light: #8b68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29b5",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 255.429,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.20288,
    "h": 285.7
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#4D29B5
secondary
#B2C872
accent
#E642BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4D29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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