#4729BA#4729BA

#4729BA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.209 H 282.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4729BA
RGBrgb(71, 41, 186)
HSLhsl(252, 64%, 45%)
HSVhsv(252, 78%, 73%)
CMYKcmyk(61.8%, 78%, 0%, 27.1%)
CIE-LABlab(30.57, 51.85, -70.91)
CIE-LCHlch(30.57, 87.85, 306.17°)
OKLaboklab(42.46% 0.0446 -0.2045)
OKLCHoklch(42.46% 0.209 282.3)
XYZxyz(12.2516, 6.4698, 47.0480)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729BA #9CBA29
analogous
#2953BA #4729BA #9029BA
triadic
#4729BA #BA4729 #29BA47
tetradic
#4729BA #BA2953 #9CBA29 #29BA90
square
#4729BA #BA2953 #9CBA29 #29BA90
split-complementary
#4729BA #BA9029 #53BA29
monochromatic
#211356 #341E88 #4729BA #6749D7 #917BE2

Accessibility & contrast

On white

9.15
#4729BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4729BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729BA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729BA#FFFFFF#000000##FFFFFF
##4729BA1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4729ba;
/* rgb */ color: rgb(71, 41, 186);
/* oklch */ color: oklch(42.5% 0.209 282.3);
Tailwind
colors: {
  custom: {
    50: '#8967d0',
    500: '#4729ba',
    950: '#000000',
  },
}
SCSS
$custom: #4729ba;
$custom-light: #8967d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ba",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 252.414,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.20933,
    "h": 282.3
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#4729BA
secondary
#B8CA75
accent
#E741C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4729BA

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

Preview Lab → · Contrast checker → · Palette generator →

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