#4720AE#4720AE

#4720AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.203 H 285.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4720AE
RGBrgb(71, 32, 174)
HSLhsl(256, 69%, 40%)
HSVhsv(256, 82%, 68%)
CMYKcmyk(59.2%, 81.6%, 0%, 31.8%)
CIE-LABlab(27.92, 52.51, -68.13)
CIE-LCHlch(27.92, 86.02, 307.62°)
OKLaboklab(40.26% 0.0536 -0.1963)
OKLCHoklch(40.26% 0.203 285.3)
XYZxyz(10.7527, 5.4279, 40.5173)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720AE #87AE20
analogous
#2040AE #4720AE #8E20AE
triadic
#4720AE #AE4720 #20AE47
tetradic
#4720AE #AE2040 #87AE20 #20AE8E
square
#4720AE #AE2040 #87AE20 #20AE8E
split-complementary
#4720AE #AE8E20 #40AE20
monochromatic
#1D0D47 #32167A #4720AE #6032D9 #8866E3

Accessibility & contrast

On white

10.07
#4720AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4720AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720AE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720AE#FFFFFF#000000##FFFFFF
##4720AE1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#084B68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4720ae;
/* rgb */ color: rgb(71, 32, 174);
/* oklch */ color: oklch(40.3% 0.203 285.3);
Tailwind
colors: {
  custom: {
    50: '#8762c7',
    500: '#4720ae',
    950: '#000000',
  },
}
SCSS
$custom: #4720ae;
$custom-light: #8762c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4720ae",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 256.479,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.20349,
    "h": 285.3
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#4720AE
secondary
#ACC862
accent
#EC3CBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4720AE

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

Preview Lab → · Contrast checker → · Palette generator →

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