#4720A5#4720A5

#4720A5 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.193 H 287.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4720A5
RGBrgb(71, 32, 165)
HSLhsl(258, 68%, 39%)
HSVhsv(258, 81%, 65%)
CMYKcmyk(57%, 80.6%, 0%, 35.3%)
CIE-LABlab(26.99, 50.00, -64.25)
CIE-LCHlch(26.99, 81.41, 307.89°)
OKLaboklab(39.33% 0.0566 -0.185)
OKLCHoklch(39.33% 0.193 287)
XYZxyz(9.9045, 5.0887, 36.0503)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720A5 #7EA520
analogous
#203BA5 #4720A5 #8920A5
triadic
#4720A5 #A54720 #20A547
tetradic
#4720A5 #A5203B #7EA520 #20A589
square
#4720A5 #A5203B #7EA520 #20A589
split-complementary
#4720A5 #A58920 #3BA520
monochromatic
#1B0C3E #311672 #4720A5 #5E2CD6 #855FE0

Accessibility & contrast

On white

10.41
#4720A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4720A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720A5
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720A5#FFFFFF#000000##FFFFFF
##4720A51.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#1B4863
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4720a5;
/* rgb */ color: rgb(71, 32, 165);
/* oklch */ color: oklch(39.3% 0.193 287.0);
Tailwind
colors: {
  custom: {
    50: '#8661c1',
    500: '#4720a5',
    950: '#000000',
  },
}
SCSS
$custom: #4720a5;
$custom-light: #8661c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4720a5",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 257.594,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.19344,
    "h": 287
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#4720A5
secondary
#A6C55C
accent
#EA3DB8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4720A5

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

Preview Lab → · Contrast checker → · Palette generator →

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