#4729BD#4729BD

#4729BD is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.213 H 281.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4729BD
RGBrgb(71, 41, 189)
HSLhsl(252, 64%, 45%)
HSVhsv(252, 78%, 74%)
CMYKcmyk(62.4%, 78.3%, 0%, 25.9%)
CIE-LABlab(30.88, 52.72, -72.18)
CIE-LCHlch(30.88, 89.38, 306.14°)
OKLaboklab(42.77% 0.0437 -0.2082)
OKLCHoklch(42.77% 0.213 281.9)
XYZxyz(12.5739, 6.5987, 48.7453)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729BD #9FBD29
analogous
#2955BD #4729BD #9129BD
triadic
#4729BD #BD4729 #29BD47
tetradic
#4729BD #BD2955 #9FBD29 #29BD91
square
#4729BD #BD2955 #9FBD29 #29BD91
split-complementary
#4729BD #BD9129 #55BD29
monochromatic
#211358 #341E8B #4729BD #684BD8 #927DE3

Accessibility & contrast

On white

9.05
#4729BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4729BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729BD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729BD#FFFFFF#000000##FFFFFF
##4729BD1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4729bd;
/* rgb */ color: rgb(71, 41, 189);
/* oklch */ color: oklch(42.8% 0.213 281.9);
Tailwind
colors: {
  custom: {
    50: '#8967d2',
    500: '#4729bd',
    950: '#000000',
  },
}
SCSS
$custom: #4729bd;
$custom-light: #8967d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4729bd",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 252.162,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.21277,
    "h": 281.9
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#4729BD
secondary
#BACB77
accent
#E740C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4729BD

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

Preview Lab → · Contrast checker → · Palette generator →

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