#4D29A5#4D29A5

#4D29A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.184 H 288.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4D29A5
RGBrgb(77, 41, 165)
HSLhsl(257, 60%, 40%)
HSVhsv(257, 75%, 65%)
CMYKcmyk(53.3%, 75.2%, 0%, 35.3%)
CIE-LABlab(29.11, 46.57, -60.74)
CIE-LCHlch(29.11, 76.53, 307.48°)
OKLaboklab(40.96% 0.0593 -0.1746)
OKLCHoklch(40.96% 0.184 288.8)
XYZxyz(10.6431, 5.8798, 36.1641)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29A5 #81A529
analogous
#2943A5 #4D29A5 #8B29A5
triadic
#4D29A5 #A54D29 #29A54D
tetradic
#4D29A5 #A52943 #81A529 #29A58B
square
#4D29A5 #A52943 #81A529 #29A58B
split-complementary
#4D29A5 #A58B29 #43A529
monochromatic
#1F1143 #361D74 #4D29A5 #673DCF #8D6EDB

Accessibility & contrast

On white

9.65
#4D29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29A5
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29A5#FFFFFF#000000##FFFFFF
##4D29A51.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#2B4B65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d29a5;
/* rgb */ color: rgb(77, 41, 165);
/* oklch */ color: oklch(41.0% 0.184 288.8);
Tailwind
colors: {
  custom: {
    50: '#8867c1',
    500: '#4d29a5',
    950: '#000000',
  },
}
SCSS
$custom: #4d29a5;
$custom-light: #8867c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29a5",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 257.419,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.18439,
    "h": 288.8
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#4D29A5
secondary
#A8C268
accent
#E344B5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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