#4729A3#4729A3

#4729A3 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.182 H 286.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4729A3
RGBrgb(71, 41, 163)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(56.4%, 74.8%, 0%, 36.1%)
CIE-LABlab(28.30, 45.10, -60.88)
CIE-LCHlch(28.30, 75.76, 306.53°)
OKLaboklab(40.19% 0.0507 -0.1752)
OKLCHoklch(40.19% 0.182 286.2)
XYZxyz(10.0003, 5.5693, 35.1913)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729A3 #85A329
analogous
#2948A3 #4729A3 #8429A3
triadic
#4729A3 #A34729 #29A347
tetradic
#4729A3 #A32948 #85A329 #29A384
square
#4729A3 #A32948 #85A329 #29A384
split-complementary
#4729A3 #A38429 #48A329
monochromatic
#1C1041 #321D72 #4729A3 #5F3BCE #876CDA

Accessibility & contrast

On white

9.93
#4729A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4729A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4729A3#FFFFFF#000000##FFFFFF
##4729A31.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#1C4B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4729a3;
/* rgb */ color: rgb(71, 41, 163);
/* oklch */ color: oklch(40.2% 0.182 286.2);
Tailwind
colors: {
  custom: {
    50: '#8566bf',
    500: '#4729a3',
    950: '#000000',
  },
}
SCSS
$custom: #4729a3;
$custom-light: #8566bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4729a3",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 254.754,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.18241,
    "h": 286.2
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#4729A3
secondary
#ABC167
accent
#E345BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4729A3

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

Preview Lab → · Contrast checker → · Palette generator →

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