#4721B2#4721B2

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

Color values

HEX#4721B2
RGBrgb(71, 33, 178)
HSLhsl(256, 69%, 41%)
HSVhsv(256, 81%, 70%)
CMYKcmyk(60.1%, 81.5%, 0%, 30.2%)
CIE-LABlab(28.49, 53.20, -69.59)
CIE-LCHlch(28.49, 87.59, 307.40°)
OKLaboklab(40.77% 0.0517 -0.2006)
OKLCHoklch(40.77% 0.207 284.4)
XYZxyz(11.1758, 5.6409, 42.6107)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4721B2 #8CB221
analogous
#2144B2 #4721B2 #9021B2
triadic
#4721B2 #B24721 #21B247
tetradic
#4721B2 #B22144 #8CB221 #21B290
square
#4721B2 #B22144 #8CB221 #21B290
split-complementary
#4721B2 #B29021 #44B221
monochromatic
#1E0E4B #32177E #4721B2 #6136DA #8A6AE3

Accessibility & contrast

On white

9.87
#4721B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4721B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4721B2
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4721B2#FFFFFF#000000##FFFFFF
##4721B21.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4721b2;
/* rgb */ color: rgb(71, 33, 178);
/* oklch */ color: oklch(40.8% 0.207 284.4);
Tailwind
colors: {
  custom: {
    50: '#8863ca',
    500: '#4721b2',
    950: '#000000',
  },
}
SCSS
$custom: #4721b2;
$custom-light: #8863ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4721b2",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 255.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.20713,
    "h": 284.4
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#4721B2
secondary
#AFC966
accent
#EC3CBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4721B2

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

Preview Lab → · Contrast checker → · Palette generator →

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