#4728BD#4728BD

#4728BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.214 H 282.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4728BD
RGBrgb(71, 40, 189)
HSLhsl(252, 65%, 45%)
HSVhsv(252, 79%, 74%)
CMYKcmyk(62.4%, 78.8%, 0%, 25.9%)
CIE-LABlab(30.71, 53.19, -72.45)
CIE-LCHlch(30.71, 89.88, 306.29°)
OKLaboklab(42.66% 0.0443 -0.209)
OKLCHoklch(42.66% 0.214 282)
XYZxyz(12.5398, 6.5304, 48.7339)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728BD #9EBD28
analogous
#2854BD #4728BD #9128BD
triadic
#4728BD #BD4728 #28BD47
tetradic
#4728BD #BD2854 #9EBD28 #28BD91
square
#4728BD #BD2854 #9EBD28 #28BD91
split-complementary
#4728BD #BD9128 #54BD28
monochromatic
#211358 #341D8A #4728BD #674AD9 #927CE3

Accessibility & contrast

On white

9.11
#4728BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4728BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728BD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728BD#FFFFFF#000000##FFFFFF
##4728BD1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4728bd;
/* rgb */ color: rgb(71, 40, 189);
/* oklch */ color: oklch(42.7% 0.214 282.0);
Tailwind
colors: {
  custom: {
    50: '#8967d2',
    500: '#4728bd',
    950: '#000000',
  },
}
SCSS
$custom: #4728bd;
$custom-light: #8967d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4728bd",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 252.483,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.21365,
    "h": 282
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#4728BD
secondary
#BACB75
accent
#E840C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4728BD

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

Preview Lab → · Contrast checker → · Palette generator →

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