#4722A4#4722A4

#4722A4 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.191 H 287.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4722A4
RGBrgb(71, 34, 164)
HSLhsl(257, 66%, 39%)
HSVhsv(257, 79%, 64%)
CMYKcmyk(56.7%, 79.3%, 0%, 35.7%)
CIE-LABlab(27.20, 48.82, -63.30)
CIE-LCHlch(27.20, 79.94, 307.64°)
OKLaboklab(39.45% 0.0556 -0.1822)
OKLCHoklch(39.45% 0.191 287)
XYZxyz(9.8694, 5.1634, 35.5914)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722A4 #7FA422
analogous
#223EA4 #4722A4 #8822A4
triadic
#4722A4 #A44722 #22A447
tetradic
#4722A4 #A4223E #7FA422 #22A488
square
#4722A4 #A4223E #7FA422 #22A488
split-complementary
#4722A4 #A48822 #3EA422
monochromatic
#1B0D3F #311771 #4722A4 #5E2FD4 #8562DE

Accessibility & contrast

On white

10.33
#4722A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4722A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722A4
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722A4#FFFFFF#000000##FFFFFF
##4722A41.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#1C4863
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4722a4;
/* rgb */ color: rgb(71, 34, 164);
/* oklch */ color: oklch(39.4% 0.191 287.0);
Tailwind
colors: {
  custom: {
    50: '#8562c0',
    500: '#4722a4',
    950: '#000000',
  },
}
SCSS
$custom: #4722a4;
$custom-light: #8562c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4722a4",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 257.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.19052,
    "h": 287
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#4722A4
secondary
#A7C45E
accent
#E93FB8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4722A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4722A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva