#4727AE#4727AE

#4727AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.197 H 284.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4727AE
RGBrgb(71, 39, 174)
HSLhsl(254, 63%, 42%)
HSVhsv(254, 78%, 68%)
CMYKcmyk(59.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(29.02, 49.33, -66.32)
CIE-LCHlch(29.02, 82.65, 306.64°)
OKLaboklab(41.02% 0.0493 -0.1911)
OKLCHoklch(41.02% 0.197 284.5)
XYZxyz(10.9617, 5.8459, 40.5869)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727AE #8EAE27
analogous
#274BAE #4727AE #8B27AE
triadic
#4727AE #AE4727 #27AE47
tetradic
#4727AE #AE274B #8EAE27 #27AE8B
square
#4727AE #AE274B #8EAE27 #27AE8B
split-complementary
#4727AE #AE8B27 #4BAE27
monochromatic
#1E114A #331C7C #4727AE #623ED4 #8B70DF

Accessibility & contrast

On white

9.68
#4727AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4727AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727AE
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727AE#FFFFFF#000000##FFFFFF
##4727AE1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#064E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4727ae;
/* rgb */ color: rgb(71, 39, 174);
/* oklch */ color: oklch(41.0% 0.197 284.5);
Tailwind
colors: {
  custom: {
    50: '#8766c7',
    500: '#4727ae',
    950: '#000000',
  },
}
SCSS
$custom: #4727ae;
$custom-light: #8766c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4727ae",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 254.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.19734,
    "h": 284.5
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#4727AE
secondary
#B0C66B
accent
#E641BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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