#4720BB#4720BB

#4720BB is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.218 H 283.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4720BB
RGBrgb(71, 32, 187)
HSLhsl(255, 71%, 43%)
HSVhsv(255, 83%, 73%)
CMYKcmyk(62%, 82.9%, 0%, 26.7%)
CIE-LABlab(29.31, 56.10, -73.58)
CIE-LCHlch(29.31, 92.53, 307.32°)
OKLaboklab(41.62% 0.0491 -0.2122)
OKLCHoklch(41.62% 0.218 283)
XYZxyz(12.0819, 5.9596, 47.5177)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720BB #94BB20
analogous
#2046BB #4720BB #9420BB
triadic
#4720BB #BB4720 #20BB47
tetradic
#4720BB #BB2046 #94BB20 #20BB94
square
#4720BB #BB2046 #94BB20 #20BB94
split-complementary
#4720BB #BB9420 #46BB20
monochromatic
#1F0E52 #331787 #4720BB #643BDD #8D6FE6

Accessibility & contrast

On white

9.58
#4720BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4720BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720BB
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720BB#FFFFFF#000000##FFFFFF
##4720BB1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABF
Deuteranopia (green-blind)
#0040B8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4720bb;
/* rgb */ color: rgb(71, 32, 187);
/* oklch */ color: oklch(41.6% 0.218 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a63d1',
    500: '#4720bb',
    950: '#000000',
  },
}
SCSS
$custom: #4720bb;
$custom-light: #8a63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4720bb",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 255.097,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.21782,
    "h": 283
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#4720BB
secondary
#B4CD6A
accent
#EE3AC0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4720BB

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

Preview Lab → · Contrast checker → · Palette generator →

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