#4729B2#4729B2

#4729B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.200 H 283.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4729B2
RGBrgb(71, 41, 178)
HSLhsl(253, 63%, 43%)
HSVhsv(253, 77%, 70%)
CMYKcmyk(60.1%, 77%, 0%, 30.2%)
CIE-LABlab(29.76, 49.52, -67.49)
CIE-LCHlch(29.76, 83.70, 306.27°)
OKLaboklab(41.66% 0.0468 -0.1945)
OKLCHoklch(41.66% 0.2 283.5)
XYZxyz(11.4249, 6.1391, 42.6938)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729B2 #94B229
analogous
#294FB2 #4729B2 #8C29B2
triadic
#4729B2 #B24729 #29B247
tetradic
#4729B2 #B2294F #94B229 #29B28C
square
#4729B2 #B2294F #94B229 #29B28C
split-complementary
#4729B2 #B28C29 #4FB229
monochromatic
#1F124F #331E80 #4729B2 #6444D4 #8D76DF

Accessibility & contrast

On white

9.43
#4729B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4729B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729B2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729B2#FFFFFF#000000##FFFFFF
##4729B21.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4729b2;
/* rgb */ color: rgb(71, 41, 178);
/* oklch */ color: oklch(41.7% 0.200 283.5);
Tailwind
colors: {
  custom: {
    50: '#8767ca',
    500: '#4729b2',
    950: '#000000',
  },
}
SCSS
$custom: #4729b2;
$custom-light: #8767ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4729b2",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 253.139,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.20009,
    "h": 283.5
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#4729B2
secondary
#B4C770
accent
#E642C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4729B2

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

Preview Lab → · Contrast checker → · Palette generator →

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