#4720B3#4720B3

#4720B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.8% C 0.209 H 284.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4720B3
RGBrgb(71, 32, 179)
HSLhsl(256, 70%, 41%)
HSVhsv(256, 82%, 70%)
CMYKcmyk(60.3%, 82.1%, 0%, 29.8%)
CIE-LABlab(28.45, 53.89, -70.25)
CIE-LCHlch(28.45, 88.54, 307.50°)
OKLaboklab(40.78% 0.0519 -0.2025)
OKLCHoklch(40.78% 0.209 284.4)
XYZxyz(11.2492, 5.6266, 43.1323)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720B3 #8CB320
analogous
#2043B3 #4720B3 #9120B3
triadic
#4720B3 #B34720 #20B347
tetradic
#4720B3 #B32043 #8CB320 #20B391
square
#4720B3 #B32043 #8CB320 #20B391
split-complementary
#4720B3 #B39120 #43B320
monochromatic
#1E0D4B #32177F #4720B3 #6135DB #8A69E4

Accessibility & contrast

On white

9.88
#4720B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4720B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720B3
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720B3#FFFFFF#000000##FFFFFF
##4720B31.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4720b3;
/* rgb */ color: rgb(71, 32, 179);
/* oklch */ color: oklch(40.8% 0.209 284.4);
Tailwind
colors: {
  custom: {
    50: '#8862cb',
    500: '#4720b3',
    950: '#000000',
  },
}
SCSS
$custom: #4720b3;
$custom-light: #8862cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4720b3",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 255.918,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.20903,
    "h": 284.4
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#4720B3
secondary
#AFCA65
accent
#EC3BBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4720B3

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

Preview Lab → · Contrast checker → · Palette generator →

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