#4720A9#4720A9

#4720A9 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.198 H 286.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4720A9
RGBrgb(71, 32, 169)
HSLhsl(257, 68%, 39%)
HSVhsv(257, 81%, 66%)
CMYKcmyk(58%, 81.1%, 0%, 33.7%)
CIE-LABlab(27.40, 51.12, -65.98)
CIE-LCHlch(27.40, 83.47, 307.77°)
OKLaboklab(39.74% 0.0553 -0.19)
OKLCHoklch(39.74% 0.198 286.2)
XYZxyz(10.2743, 5.2366, 37.9978)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720A9 #82A920
analogous
#203EA9 #4720A9 #8C20A9
triadic
#4720A9 #A94720 #20A947
tetradic
#4720A9 #A9203E #82A920 #20A98C
square
#4720A9 #A9203E #82A920 #20A98C
split-complementary
#4720A9 #A98C20 #3EA920
monochromatic
#1C0D42 #311676 #4720A9 #5F2FD8 #8662E1

Accessibility & contrast

On white

10.26
#4720A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4720A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720A9
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720A9#FFFFFF#000000##FFFFFF
##4720A91.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#144965
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4720a9;
/* rgb */ color: rgb(71, 32, 169);
/* oklch */ color: oklch(39.7% 0.198 286.2);
Tailwind
colors: {
  custom: {
    50: '#8662c4',
    500: '#4720a9',
    950: '#000000',
  },
}
SCSS
$custom: #4720a9;
$custom-light: #8662c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4720a9",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 257.08,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.19792,
    "h": 286.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#4720A9
secondary
#A9C65F
accent
#EB3DB9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4720A9

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

Preview Lab → · Contrast checker → · Palette generator →

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