#4720C8#4720C8

#4720C8 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 43.0% C 0.232 H 281.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4720C8
RGBrgb(71, 32, 200)
HSLhsl(254, 72%, 45%)
HSVhsv(254, 84%, 78%)
CMYKcmyk(64.5%, 84%, 0%, 21.6%)
CIE-LABlab(30.74, 59.65, -78.87)
CIE-LCHlch(30.74, 98.89, 307.10°)
OKLaboklab(43.02% 0.0447 -0.2276)
OKLCHoklch(43.02% 0.232 281.1)
XYZxyz(13.5371, 6.5417, 55.1817)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720C8 #A1C820
analogous
#204DC8 #4720C8 #9B20C8
triadic
#4720C8 #C84720 #20C847
tetradic
#4720C8 #C8204D #A1C820 #20C89B
square
#4720C8 #C8204D #A1C820 #20C89B
split-complementary
#4720C8 #C89B20 #4DC820
monochromatic
#220F5E #341893 #4720C8 #6944E1 #9379EA

Accessibility & contrast

On white

9.10
#4720C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4720C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720C8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720C8#FFFFFF#000000##FFFFFF
##4720C81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECC
Deuteranopia (green-blind)
#0042C5
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4720c8;
/* rgb */ color: rgb(71, 32, 200);
/* oklch */ color: oklch(43.0% 0.232 281.1);
Tailwind
colors: {
  custom: {
    50: '#8c64da',
    500: '#4720c8',
    950: '#000000',
  },
}
SCSS
$custom: #4720c8;
$custom-light: #8c64da;
$custom-dark: #000000;
JSON
{
  "hex": "#4720c8",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 200
  },
  "hsl": {
    "h": 253.929,
    "s": 72.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.23192,
    "h": 281.1
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#4720C8
secondary
#BBD173
accent
#EF39C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4720C8

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

Preview Lab → · Contrast checker → · Palette generator →

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