#4729A2#4729A2

#4729A2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.181 H 286.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4729A2
RGBrgb(71, 41, 162)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(56.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(28.20, 44.81, -60.43)
CIE-LCHlch(28.20, 75.23, 306.56°)
OKLaboklab(40.09% 0.051 -0.1739)
OKLCHoklch(40.09% 0.181 286.3)
XYZxyz(9.9111, 5.5336, 34.7212)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729A2 #84A229
analogous
#2948A2 #4729A2 #8429A2
triadic
#4729A2 #A24729 #29A247
tetradic
#4729A2 #A22948 #84A229 #29A284
square
#4729A2 #A22948 #84A229 #29A284
split-complementary
#4729A2 #A28429 #48A229
monochromatic
#1C1040 #321D71 #4729A2 #5F3BCD #876CDA

Accessibility & contrast

On white

9.97
#4729A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4729A2#FFFFFF#000000##FFFFFF
##4729A21.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#1E4A63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4729a2;
/* rgb */ color: rgb(71, 41, 162);
/* oklch */ color: oklch(40.1% 0.181 286.3);
Tailwind
colors: {
  custom: {
    50: '#8466bf',
    500: '#4729a2',
    950: '#000000',
  },
}
SCSS
$custom: #4729a2;
$custom-light: #8466bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4729a2",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 254.876,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.18121,
    "h": 286.3
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4729A2

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

Preview Lab → · Contrast checker → · Palette generator →

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