#4727BB#4727BB

#4727BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.212 H 282.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4727BB
RGBrgb(71, 39, 187)
HSLhsl(253, 65%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(62%, 79.1%, 0%, 26.7%)
CIE-LABlab(30.35, 53.08, -71.87)
CIE-LCHlch(30.35, 89.35, 306.45°)
OKLaboklab(42.34% 0.0455 -0.2073)
OKLCHoklch(42.34% 0.212 282.4)
XYZxyz(12.2909, 6.3776, 47.5874)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727BB #9BBB27
analogous
#2751BB #4727BB #9127BB
triadic
#4727BB #BB4727 #27BB47
tetradic
#4727BB #BB2751 #9BBB27 #27BB91
square
#4727BB #BB2751 #9BBB27 #27BB91
split-complementary
#4727BB #BB9127 #51BB27
monochromatic
#211256 #341C88 #4727BB #6647D9 #9079E3

Accessibility & contrast

On white

9.23
#4727BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4727BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727BB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727BB#FFFFFF#000000##FFFFFF
##4727BB1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4727bb;
/* rgb */ color: rgb(71, 39, 187);
/* oklch */ color: oklch(42.3% 0.212 282.4);
Tailwind
colors: {
  custom: {
    50: '#8966d1',
    500: '#4727bb',
    950: '#000000',
  },
}
SCSS
$custom: #4727bb;
$custom-light: #8966d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4727bb",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 252.973,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.21224,
    "h": 282.4
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#4727BB
secondary
#B8CB73
accent
#E83FC4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4727BB

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

Preview Lab → · Contrast checker → · Palette generator →

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