#4721AE#4721AE

#4721AE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.203 H 285.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4721AE
RGBrgb(71, 33, 174)
HSLhsl(256, 68%, 41%)
HSVhsv(256, 81%, 68%)
CMYKcmyk(59.2%, 81%, 0%, 31.8%)
CIE-LABlab(28.07, 52.08, -67.89)
CIE-LCHlch(28.07, 85.56, 307.49°)
OKLaboklab(40.36% 0.053 -0.1956)
OKLCHoklch(40.36% 0.203 285.2)
XYZxyz(10.7800, 5.4826, 40.5264)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4721AE #88AE21
analogous
#2142AE #4721AE #8D21AE
triadic
#4721AE #AE4721 #21AE47
tetradic
#4721AE #AE2142 #88AE21 #21AE8D
square
#4721AE #AE2142 #88AE21 #21AE8D
split-complementary
#4721AE #AE8D21 #42AE21
monochromatic
#1D0D47 #32177B #4721AE #6034D8 #8867E2

Accessibility & contrast

On white

10.02
#4721AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4721AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4721AE
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4721AE#FFFFFF#000000##FFFFFF
##4721AE1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#074C68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4721ae;
/* rgb */ color: rgb(71, 33, 174);
/* oklch */ color: oklch(40.4% 0.203 285.2);
Tailwind
colors: {
  custom: {
    50: '#8762c7',
    500: '#4721ae',
    950: '#000000',
  },
}
SCSS
$custom: #4721ae;
$custom-light: #8762c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4721ae",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 256.17,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.20267,
    "h": 285.2
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#4721AE
secondary
#ADC863
accent
#EB3DBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4721AE

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

Preview Lab → · Contrast checker → · Palette generator →

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