#4729AB#4729AB

#4729AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.192 H 284.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4729AB
RGBrgb(71, 41, 171)
HSLhsl(254, 61%, 42%)
HSVhsv(254, 76%, 67%)
CMYKcmyk(58.5%, 76%, 0%, 32.9%)
CIE-LABlab(29.07, 47.46, -64.43)
CIE-LCHlch(29.07, 80.03, 306.37°)
OKLaboklab(40.97% 0.0487 -0.1856)
OKLCHoklch(40.97% 0.192 284.7)
XYZxyz(10.7399, 5.8651, 39.0863)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AB #8DAB29
analogous
#294CAB #4729AB #8829AB
triadic
#4729AB #AB4729 #29AB47
tetradic
#4729AB #AB294C #8DAB29 #29AB88
square
#4729AB #AB294C #8DAB29 #29AB88
split-complementary
#4729AB #AB8829 #4CAB29
monochromatic
#1E1148 #331D7A #4729AB #6240D1 #8A71DD

Accessibility & contrast

On white

9.66
#4729AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4729AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729AB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729AB#FFFFFF#000000##FFFFFF
##4729AB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#0F4E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4729ab;
/* rgb */ color: rgb(71, 41, 171);
/* oklch */ color: oklch(41.0% 0.192 284.7);
Tailwind
colors: {
  custom: {
    50: '#8667c5',
    500: '#4729ab',
    950: '#000000',
  },
}
SCSS
$custom: #4729ab;
$custom-light: #8667c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ab",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 253.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.1919,
    "h": 284.7
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#4729AB
secondary
#B0C46C
accent
#E443BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729AB

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

Preview Lab → · Contrast checker → · Palette generator →

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