#4729AA#4729AA

#4729AA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.191 H 284.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4729AA
RGBrgb(71, 41, 170)
HSLhsl(254, 61%, 41%)
HSVhsv(254, 76%, 67%)
CMYKcmyk(58.2%, 75.9%, 0%, 33.3%)
CIE-LABlab(28.97, 47.17, -63.99)
CIE-LCHlch(28.97, 79.50, 306.39°)
OKLaboklab(40.87% 0.049 -0.1843)
OKLCHoklch(40.87% 0.191 284.9)
XYZxyz(10.6450, 5.8271, 38.5862)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AA #8CAA29
analogous
#294CAA #4729AA #8829AA
triadic
#4729AA #AA4729 #29AA47
tetradic
#4729AA #AA294C #8CAA29 #29AA88
square
#4729AA #AA294C #8CAA29 #29AA88
split-complementary
#4729AA #AA8829 #4CAA29
monochromatic
#1E1147 #321D79 #4729AA #613FD1 #8A71DD

Accessibility & contrast

On white

9.70
#4729AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4729AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4729AA#FFFFFF#000000##FFFFFF
##4729AA1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#114D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4729aa;
/* rgb */ color: rgb(71, 41, 170);
/* oklch */ color: oklch(40.9% 0.191 284.9);
Tailwind
colors: {
  custom: {
    50: '#8666c4',
    500: '#4729aa',
    950: '#000000',
  },
}
SCSS
$custom: #4729aa;
$custom-light: #8666c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4729aa",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 253.953,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.19072,
    "h": 284.9
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#4729AA
secondary
#AFC46B
accent
#E444BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729AA

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

Preview Lab → · Contrast checker → · Palette generator →

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