#4727A4#4727A4

#4727A4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.186 H 286.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4727A4
RGBrgb(71, 39, 164)
HSLhsl(255, 62%, 40%)
HSVhsv(255, 76%, 64%)
CMYKcmyk(56.7%, 76.2%, 0%, 35.7%)
CIE-LABlab(28.04, 46.42, -61.91)
CIE-LCHlch(28.04, 77.38, 306.86°)
OKLaboklab(40.03% 0.052 -0.1782)
OKLCHoklch(40.03% 0.186 286.3)
XYZxyz(10.0229, 5.4704, 35.6425)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727A4 #84A427
analogous
#2746A4 #4727A4 #8627A4
triadic
#4727A4 #A44727 #27A447
tetradic
#4727A4 #A42746 #84A427 #27A486
square
#4727A4 #A42746 #84A427 #27A486
split-complementary
#4727A4 #A48627 #46A427
monochromatic
#1C0F41 #321B73 #4727A4 #5F38D0 #876ADC

Accessibility & contrast

On white

10.03
#4727A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4727A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727A4
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727A4#FFFFFF#000000##FFFFFF
##4727A41.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#1B4A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4727a4;
/* rgb */ color: rgb(71, 39, 164);
/* oklch */ color: oklch(40.0% 0.186 286.3);
Tailwind
colors: {
  custom: {
    50: '#8565c0',
    500: '#4727a4',
    950: '#000000',
  },
}
SCSS
$custom: #4727a4;
$custom-light: #8565c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4727a4",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 255.36,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.18567,
    "h": 286.3
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#4727A4
secondary
#AAC265
accent
#E543BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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