#4729BC#4729BC

#4729BC is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.212 H 282.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4729BC
RGBrgb(71, 41, 188)
HSLhsl(252, 64%, 45%)
HSVhsv(252, 78%, 74%)
CMYKcmyk(62.2%, 78.2%, 0%, 26.3%)
CIE-LABlab(30.77, 52.43, -71.76)
CIE-LCHlch(30.77, 88.87, 306.15°)
OKLaboklab(42.67% 0.044 -0.207)
OKLCHoklch(42.67% 0.212 282)
XYZxyz(12.4657, 6.5554, 48.1756)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729BC #9EBC29
analogous
#2954BC #4729BC #9129BC
triadic
#4729BC #BC4729 #29BC47
tetradic
#4729BC #BC2954 #9EBC29 #29BC91
square
#4729BC #BC2954 #9EBC29 #29BC91
split-complementary
#4729BC #BC9129 #54BC29
monochromatic
#211358 #341E8A #4729BC #674BD8 #927DE3

Accessibility & contrast

On white

9.09
#4729BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4729BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729BC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729BC#FFFFFF#000000##FFFFFF
##4729BC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4729bc;
/* rgb */ color: rgb(71, 41, 188);
/* oklch */ color: oklch(42.7% 0.212 282.0);
Tailwind
colors: {
  custom: {
    50: '#8967d1',
    500: '#4729bc',
    950: '#000000',
  },
}
SCSS
$custom: #4729bc;
$custom-light: #8967d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4729bc",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 252.245,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.21163,
    "h": 282
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4729BC

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

Preview Lab → · Contrast checker → · Palette generator →

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