#4729AE#4729AE

#4729AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.195 H 284.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4729AE
RGBrgb(71, 41, 174)
HSLhsl(254, 62%, 42%)
HSVhsv(254, 76%, 68%)
CMYKcmyk(59.2%, 76.4%, 0%, 31.8%)
CIE-LABlab(29.36, 48.34, -65.75)
CIE-LCHlch(29.36, 81.61, 306.33°)
OKLaboklab(41.26% 0.0479 -0.1895)
OKLCHoklch(41.26% 0.195 284.2)
XYZxyz(11.0291, 5.9808, 40.6094)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AE #90AE29
analogous
#294EAE #4729AE #8A29AE
triadic
#4729AE #AE4729 #29AE47
tetradic
#4729AE #AE294E #90AE29 #29AE8A
square
#4729AE #AE294E #90AE29 #29AE8A
split-complementary
#4729AE #AE8A29 #4EAE29
monochromatic
#1F124B #331D7C #4729AE #6242D2 #8B73DE

Accessibility & contrast

On white

9.56
#4729AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4729AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729AE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729AE#FFFFFF#000000##FFFFFF
##4729AE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#064F6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4729ae;
/* rgb */ color: rgb(71, 41, 174);
/* oklch */ color: oklch(41.3% 0.195 284.2);
Tailwind
colors: {
  custom: {
    50: '#8767c7',
    500: '#4729ae',
    950: '#000000',
  },
}
SCSS
$custom: #4729ae;
$custom-light: #8767c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ae",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 253.534,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41261,
    "c": 0.19542,
    "h": 284.2
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#4729AE
secondary
#B2C56D
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729AE

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

Preview Lab → · Contrast checker → · Palette generator →

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