#4D29AF#4D29AF

#4D29AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.196 H 286.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4D29AF
RGBrgb(77, 41, 175)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 77%, 69%)
CMYKcmyk(56%, 76.6%, 0%, 31.4%)
CIE-LABlab(30.05, 49.42, -65.19)
CIE-LCHlch(30.05, 81.81, 307.17°)
OKLaboklab(41.92% 0.0566 -0.1876)
OKLCHoklch(41.92% 0.196 286.8)
XYZxyz(11.5891, 6.2582, 41.1464)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D29AF #8BAF29
analogous
#2948AF #4D29AF #9029AF
triadic
#4D29AF #AF4D29 #29AF4D
tetradic
#4D29AF #AF2948 #8BAF29 #29AF90
square
#4D29AF #AF2948 #8BAF29 #29AF90
split-complementary
#4D29AF #AF9029 #48AF29
monochromatic
#21124C #371D7D #4D29AF #6942D3 #9174DE

Accessibility & contrast

On white

9.33
#4D29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D29AF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D29AF#FFFFFF#000000##FFFFFF
##4D29AF1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#214F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d29af;
/* rgb */ color: rgb(77, 41, 175);
/* oklch */ color: oklch(41.9% 0.196 286.8);
Tailwind
colors: {
  custom: {
    50: '#8a67c8',
    500: '#4d29af',
    950: '#000000',
  },
}
SCSS
$custom: #4d29af;
$custom-light: #8a67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d29af",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 256.119,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.196,
    "h": 286.8
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#4D29AF
secondary
#AEC66E
accent
#E543B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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