#4729A9#4729A9

#4729A9 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.190 H 285.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4729A9
RGBrgb(71, 41, 169)
HSLhsl(254, 61%, 41%)
HSVhsv(254, 76%, 66%)
CMYKcmyk(58%, 75.7%, 0%, 33.7%)
CIE-LABlab(28.87, 46.87, -63.55)
CIE-LCHlch(28.87, 78.97, 306.41°)
OKLaboklab(40.77% 0.0492 -0.183)
OKLCHoklch(40.77% 0.19 285.1)
XYZxyz(10.5507, 5.7894, 38.0899)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729A9 #8BA929
analogous
#294BA9 #4729A9 #8729A9
triadic
#4729A9 #A94729 #29A947
tetradic
#4729A9 #A9294B #8BA929 #29A987
square
#4729A9 #A9294B #8BA929 #29A987
split-complementary
#4729A9 #A98729 #4BA929
monochromatic
#1E1146 #321D78 #4729A9 #613FD0 #8970DC

Accessibility & contrast

On white

9.73
#4729A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4729A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4729A9#FFFFFF#000000##FFFFFF
##4729A91.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#134D67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4729a9;
/* rgb */ color: rgb(71, 41, 169);
/* oklch */ color: oklch(40.8% 0.190 285.1);
Tailwind
colors: {
  custom: {
    50: '#8666c4',
    500: '#4729a9',
    950: '#000000',
  },
}
SCSS
$custom: #4729a9;
$custom-light: #8666c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4729a9",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 254.063,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.18954,
    "h": 285.1
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#4729A9
secondary
#AEC36A
accent
#E444BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729A9

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

Preview Lab → · Contrast checker → · Palette generator →

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