#4722CA#4722CA

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

Color values

HEX#4722CA
RGBrgb(71, 34, 202)
HSLhsl(253, 71%, 46%)
HSVhsv(253, 83%, 79%)
CMYKcmyk(64.9%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.22, 59.42, -79.24)
CIE-LCHlch(31.22, 99.04, 306.87°)
OKLaboklab(43.42% 0.0432 -0.2287)
OKLCHoklch(43.42% 0.233 280.7)
XYZxyz(13.8279, 6.7468, 56.4392)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722CA #A5CA22
analogous
#2251CA #4722CA #9B22CA
triadic
#4722CA #CA4722 #22CA47
tetradic
#4722CA #CA2251 #A5CA22 #22CA9B
square
#4722CA #CA2251 #A5CA22 #22CA9B
split-complementary
#4722CA #CA9B22 #51CA22
monochromatic
#221061 #351996 #4722CA #6A49E0 #957DE9

Accessibility & contrast

On white

8.94
#4722CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4722CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722CA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722CA#FFFFFF#000000##FFFFFF
##4722CA1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4722ca;
/* rgb */ color: rgb(71, 34, 202);
/* oklch */ color: oklch(43.4% 0.233 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c65dc',
    500: '#4722ca',
    950: '#000000',
  },
}
SCSS
$custom: #4722ca;
$custom-light: #8c65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4722ca",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 253.214,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.23273,
    "h": 280.7
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#4722CA
secondary
#BDD177
accent
#EE3AC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4722CA

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

Preview Lab → · Contrast checker → · Palette generator →

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