#4729A4#4729A4

#4729A4 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.184 H 286.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4729A4
RGBrgb(71, 41, 164)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(56.7%, 75%, 0%, 35.7%)
CIE-LABlab(28.39, 45.40, -61.33)
CIE-LCHlch(28.39, 76.30, 306.51°)
OKLaboklab(40.28% 0.0505 -0.1765)
OKLCHoklch(40.28% 0.184 286)
XYZxyz(10.0903, 5.6052, 35.6650)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729A4 #86A429
analogous
#2949A4 #4729A4 #8429A4
triadic
#4729A4 #A44729 #29A447
tetradic
#4729A4 #A42949 #86A429 #29A484
square
#4729A4 #A42949 #86A429 #29A484
split-complementary
#4729A4 #A48429 #49A429
monochromatic
#1D1142 #321D73 #4729A4 #603CCE #886DDA

Accessibility & contrast

On white

9.90
#4729A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4729A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729A4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729A4#FFFFFF#000000##FFFFFF
##4729A41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#1B4B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4729a4;
/* rgb */ color: rgb(71, 41, 164);
/* oklch */ color: oklch(40.3% 0.184 286.0);
Tailwind
colors: {
  custom: {
    50: '#8566c0',
    500: '#4729a4',
    950: '#000000',
  },
}
SCSS
$custom: #4729a4;
$custom-light: #8566c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4729a4",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 254.634,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.1836,
    "h": 286
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#4729A4
secondary
#ABC168
accent
#E345BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4729A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4729A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva