#4729A5#4729A5

#4729A5 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.185 H 285.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4729A5
RGBrgb(71, 41, 165)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 65%)
CMYKcmyk(57%, 75.2%, 0%, 35.3%)
CIE-LABlab(28.49, 45.69, -61.77)
CIE-LCHlch(28.49, 76.84, 306.49°)
OKLaboklab(40.38% 0.0502 -0.1778)
OKLCHoklch(40.38% 0.185 285.8)
XYZxyz(10.1810, 5.6415, 36.1425)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729A5 #87A529
analogous
#2949A5 #4729A5 #8529A5
triadic
#4729A5 #A54729 #29A547
tetradic
#4729A5 #A52949 #87A529 #29A585
square
#4729A5 #A52949 #87A529 #29A585
split-complementary
#4729A5 #A58529 #49A529
monochromatic
#1D1143 #321D74 #4729A5 #603DCF #886EDB

Accessibility & contrast

On white

9.87
#4729A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4729A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4729A5#FFFFFF#000000##FFFFFF
##4729A51.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#1A4B65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4729a5;
/* rgb */ color: rgb(71, 41, 165);
/* oklch */ color: oklch(40.4% 0.185 285.8);
Tailwind
colors: {
  custom: {
    50: '#8566c1',
    500: '#4729a5',
    950: '#000000',
  },
}
SCSS
$custom: #4729a5;
$custom-light: #8566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4729a5",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 254.516,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.18479,
    "h": 285.8
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#4729A5
secondary
#ACC268
accent
#E344BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4729A5

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

Preview Lab → · Contrast checker → · Palette generator →

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