#4720CA#4720CA

#4720CA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.2% C 0.234 H 280.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4720CA
RGBrgb(71, 32, 202)
HSLhsl(254, 73%, 46%)
HSVhsv(254, 84%, 79%)
CMYKcmyk(64.9%, 84.2%, 0%, 20.8%)
CIE-LABlab(30.96, 60.19, -79.67)
CIE-LCHlch(30.96, 99.85, 307.07°)
OKLaboklab(43.24% 0.044 -0.2299)
OKLCHoklch(43.24% 0.234 280.8)
XYZxyz(13.7723, 6.6358, 56.4207)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4720CA #A3CA20
analogous
#204ECA #4720CA #9C20CA
triadic
#4720CA #CA4720 #20CA47
tetradic
#4720CA #CA204E #A3CA20 #20CA9C
square
#4720CA #CA204E #A3CA20 #20CA9C
split-complementary
#4720CA #CA9C20 #4ECA20
monochromatic
#220F60 #341895 #4720CA #6946E2 #947AEA

Accessibility & contrast

On white

9.02
#4720CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4720CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4720CA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4720CA#FFFFFF#000000##FFFFFF
##4720CA1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4720ca;
/* rgb */ color: rgb(71, 32, 202);
/* oklch */ color: oklch(43.2% 0.234 280.8);
Tailwind
colors: {
  custom: {
    50: '#8c64dc',
    500: '#4720ca',
    950: '#000000',
  },
}
SCSS
$custom: #4720ca;
$custom-light: #8c64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4720ca",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 253.765,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.23408,
    "h": 280.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#4720CA
secondary
#BCD274
accent
#EF38C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4720CA

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

Preview Lab → · Contrast checker → · Palette generator →

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