#4720A8#4720A8

#4720A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.197 H 286.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4720A8
RGBrgb(71, 32, 168)
HSLhsl(257, 68%, 39%)
HSVhsv(257, 81%, 66%)
CMYKcmyk(57.7%, 81%, 0%, 34.1%)
CIE-LABlab(27.29, 50.84, -65.55)
CIE-LCHlch(27.29, 82.96, 307.80°)
OKLaboklab(39.64% 0.0556 -0.1888)
OKLCHoklch(39.64% 0.197 286.4)
XYZxyz(10.1808, 5.1992, 37.5053)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720A8 #81A820
analogous
#203DA8 #4720A8 #8B20A8
triadic
#4720A8 #A84720 #20A847
tetradic
#4720A8 #A8203D #81A820 #20A88B
square
#4720A8 #A8203D #81A820 #20A88B
split-complementary
#4720A8 #A88B20 #3DA820
monochromatic
#1C0C41 #311675 #4720A8 #5F2ED7 #8661E1

Accessibility & contrast

On white

10.29
#4720A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4720A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720A8
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720A8#FFFFFF#000000##FFFFFF
##4720A81.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#164965
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4720a8;
/* rgb */ color: rgb(71, 32, 168);
/* oklch */ color: oklch(39.6% 0.197 286.4);
Tailwind
colors: {
  custom: {
    50: '#8662c3',
    500: '#4720a8',
    950: '#000000',
  },
}
SCSS
$custom: #4720a8;
$custom-light: #8662c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4720a8",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 257.206,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.1968,
    "h": 286.4
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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