#4729AC#4729AC

#4729AC is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.193 H 284.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4729AC
RGBrgb(71, 41, 172)
HSLhsl(254, 62%, 42%)
HSVhsv(254, 76%, 67%)
CMYKcmyk(58.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(29.17, 47.76, -64.87)
CIE-LCHlch(29.17, 80.56, 306.36°)
OKLaboklab(41.06% 0.0484 -0.1869)
OKLCHoklch(41.06% 0.193 284.5)
XYZxyz(10.8356, 5.9033, 39.5902)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AC #8EAC29
analogous
#294DAC #4729AC #8829AC
triadic
#4729AC #AC4729 #29AC47
tetradic
#4729AC #AC294D #8EAC29 #29AC88
square
#4729AC #AC294D #8EAC29 #29AC88
split-complementary
#4729AC #AC8829 #4DAC29
monochromatic
#1E1149 #331D7B #4729AC #6241D2 #8B72DD

Accessibility & contrast

On white

9.63
#4729AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4729AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4729AC#FFFFFF#000000##FFFFFF
##4729AC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#0C4E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4729ac;
/* rgb */ color: rgb(71, 41, 172);
/* oklch */ color: oklch(41.1% 0.193 284.5);
Tailwind
colors: {
  custom: {
    50: '#8667c6',
    500: '#4729ac',
    950: '#000000',
  },
}
SCSS
$custom: #4729ac;
$custom-light: #8667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ac",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 253.74,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.19307,
    "h": 284.5
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4729AC

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

Preview Lab → · Contrast checker → · Palette generator →

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