#4721CA#4721CA

#4721CA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.233 H 280.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4721CA
RGBrgb(71, 33, 202)
HSLhsl(253, 72%, 46%)
HSVhsv(253, 84%, 79%)
CMYKcmyk(64.9%, 83.7%, 0%, 20.8%)
CIE-LABlab(31.09, 59.81, -79.46)
CIE-LCHlch(31.09, 99.45, 306.97°)
OKLaboklab(43.33% 0.0436 -0.2293)
OKLCHoklch(43.33% 0.233 280.8)
XYZxyz(13.7997, 6.6905, 56.4298)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4721CA #A4CA21
analogous
#214FCA #4721CA #9B21CA
triadic
#4721CA #CA4721 #21CA47
tetradic
#4721CA #CA214F #A4CA21 #21CA9B
square
#4721CA #CA214F #A4CA21 #21CA9B
split-complementary
#4721CA #CA9B21 #4FCA21
monochromatic
#221061 #351895 #4721CA #6A47E1 #957CEA

Accessibility & contrast

On white

8.98
#4721CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4721CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4721CA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4721CA#FFFFFF#000000##FFFFFF
##4721CA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4721ca;
/* rgb */ color: rgb(71, 33, 202);
/* oklch */ color: oklch(43.3% 0.233 280.8);
Tailwind
colors: {
  custom: {
    50: '#8c64dc',
    500: '#4721ca',
    950: '#000000',
  },
}
SCSS
$custom: #4721ca;
$custom-light: #8c64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4721ca",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 253.491,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.23341,
    "h": 280.8
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#4721CA
secondary
#BDD275
accent
#EF39C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4721CA

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

Preview Lab → · Contrast checker → · Palette generator →

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