#4728BB#4728BB

#4728BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.211 H 282.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4728BB
RGBrgb(71, 40, 187)
HSLhsl(253, 65%, 45%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(62%, 78.6%, 0%, 26.7%)
CIE-LABlab(30.51, 52.61, -71.61)
CIE-LCHlch(30.51, 88.86, 306.31°)
OKLaboklab(42.45% 0.0449 -0.2065)
OKLCHoklch(42.45% 0.211 282.3)
XYZxyz(12.3242, 6.4441, 47.5985)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728BB #9CBB28
analogous
#2853BB #4728BB #9128BB
triadic
#4728BB #BB4728 #28BB47
tetradic
#4728BB #BB2853 #9CBB28 #28BB91
square
#4728BB #BB2853 #9CBB28 #28BB91
split-complementary
#4728BB #BB9128 #53BB28
monochromatic
#211256 #341D89 #4728BB #6748D8 #917BE3

Accessibility & contrast

On white

9.17
#4728BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4728BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728BB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728BB#FFFFFF#000000##FFFFFF
##4728BB1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4728bb;
/* rgb */ color: rgb(71, 40, 187);
/* oklch */ color: oklch(42.5% 0.211 282.3);
Tailwind
colors: {
  custom: {
    50: '#8967d1',
    500: '#4728bb',
    950: '#000000',
  },
}
SCSS
$custom: #4728bb;
$custom-light: #8967d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4728bb",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 252.653,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.21137,
    "h": 282.3
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#4728BB
secondary
#B8CB74
accent
#E840C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4728BB

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

Preview Lab → · Contrast checker → · Palette generator →

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