#4720B2#4720B2

#4720B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.208 H 284.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4720B2
RGBrgb(71, 32, 178)
HSLhsl(256, 70%, 41%)
HSVhsv(256, 82%, 70%)
CMYKcmyk(60.1%, 82%, 0%, 30.2%)
CIE-LABlab(28.34, 53.62, -69.83)
CIE-LCHlch(28.34, 88.04, 307.52°)
OKLaboklab(40.67% 0.0522 -0.2013)
OKLCHoklch(40.67% 0.208 284.5)
XYZxyz(11.1485, 5.5862, 42.6016)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720B2 #8BB220
analogous
#2042B2 #4720B2 #9020B2
triadic
#4720B2 #B24720 #20B247
tetradic
#4720B2 #B22042 #8BB220 #20B290
square
#4720B2 #B22042 #8BB220 #20B290
split-complementary
#4720B2 #B29020 #42B220
monochromatic
#1E0D4A #32177E #4720B2 #6135DB #8968E4

Accessibility & contrast

On white

9.92
#4720B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4720B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720B2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720B2#FFFFFF#000000##FFFFFF
##4720B21.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4720b2;
/* rgb */ color: rgb(71, 32, 178);
/* oklch */ color: oklch(40.7% 0.208 284.5);
Tailwind
colors: {
  custom: {
    50: '#8862ca',
    500: '#4720b2',
    950: '#000000',
  },
}
SCSS
$custom: #4720b2;
$custom-light: #8862ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4720b2",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 256.027,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.20792,
    "h": 284.5
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4720B2

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

Preview Lab → · Contrast checker → · Palette generator →

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