#4729AD#4729AD

#4729AD is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.194 H 284.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4729AD
RGBrgb(71, 41, 173)
HSLhsl(254, 62%, 42%)
HSVhsv(254, 76%, 68%)
CMYKcmyk(59%, 76.3%, 0%, 32.2%)
CIE-LABlab(29.27, 48.05, -65.31)
CIE-LCHlch(29.27, 81.08, 306.34°)
OKLaboklab(41.16% 0.0482 -0.1882)
OKLCHoklch(41.16% 0.194 284.4)
XYZxyz(10.9320, 5.9419, 40.0979)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AD #8FAD29
analogous
#294DAD #4729AD #8929AD
triadic
#4729AD #AD4729 #29AD47
tetradic
#4729AD #AD294D #8FAD29 #29AD89
square
#4729AD #AD294D #8FAD29 #29AD89
split-complementary
#4729AD #AD8929 #4DAD29
monochromatic
#1E124A #331D7C #4729AD #6241D2 #8B73DE

Accessibility & contrast

On white

9.60
#4729AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4729AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729AD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729AD#FFFFFF#000000##FFFFFF
##4729AD1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#094F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4729ad;
/* rgb */ color: rgb(71, 41, 173);
/* oklch */ color: oklch(41.2% 0.194 284.4);
Tailwind
colors: {
  custom: {
    50: '#8667c7',
    500: '#4729ad',
    950: '#000000',
  },
}
SCSS
$custom: #4729ad;
$custom-light: #8667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ad",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 253.636,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.19426,
    "h": 284.4
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#4729AD
secondary
#B1C56D
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729AD

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

Preview Lab → · Contrast checker → · Palette generator →

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