#4727BA#4727BA

#4727BA is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.211 H 282.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4727BA
RGBrgb(71, 39, 186)
HSLhsl(253, 65%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(61.8%, 79%, 0%, 27.1%)
CIE-LABlab(30.24, 52.79, -71.45)
CIE-LCHlch(30.24, 88.84, 306.46°)
OKLaboklab(42.24% 0.0458 -0.2061)
OKLCHoklch(42.24% 0.211 282.5)
XYZxyz(12.1842, 6.3349, 47.0256)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727BA #9ABA27
analogous
#2751BA #4727BA #9127BA
triadic
#4727BA #BA4727 #27BA47
tetradic
#4727BA #BA2751 #9ABA27 #27BA91
square
#4727BA #BA2751 #9ABA27 #27BA91
split-complementary
#4727BA #BA9127 #51BA27
monochromatic
#201255 #341C87 #4727BA #6646D8 #9079E3

Accessibility & contrast

On white

9.26
#4727BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4727BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727BA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727BA#FFFFFF#000000##FFFFFF
##4727BA1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4727ba;
/* rgb */ color: rgb(71, 39, 186);
/* oklch */ color: oklch(42.2% 0.211 282.5);
Tailwind
colors: {
  custom: {
    50: '#8966d0',
    500: '#4727ba',
    950: '#000000',
  },
}
SCSS
$custom: #4727ba;
$custom-light: #8966d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4727ba",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 253.061,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.2111,
    "h": 282.5
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#4727BA
secondary
#B7CB72
accent
#E840C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4727BA

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

Preview Lab → · Contrast checker → · Palette generator →

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