#4722A9#4722A9

#4722A9 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.196 H 286.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4722A9
RGBrgb(71, 34, 169)
HSLhsl(256, 67%, 40%)
HSVhsv(256, 80%, 66%)
CMYKcmyk(58%, 79.9%, 0%, 33.7%)
CIE-LABlab(27.70, 50.23, -65.48)
CIE-LCHlch(27.70, 82.53, 307.49°)
OKLaboklab(39.95% 0.054 -0.1886)
OKLCHoklch(39.95% 0.196 286)
XYZxyz(10.3298, 5.3476, 38.0163)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722A9 #84A922
analogous
#2241A9 #4722A9 #8A22A9
triadic
#4722A9 #A94722 #22A947
tetradic
#4722A9 #A92241 #84A922 #22A98A
square
#4722A9 #A92241 #84A922 #22A98A
split-complementary
#4722A9 #A98A22 #41A922
monochromatic
#1C0D43 #321876 #4722A9 #5F32D6 #8765E0

Accessibility & contrast

On white

10.15
#4722A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4722A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722A9
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722A9#FFFFFF#000000##FFFFFF
##4722A91.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#144A66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4722a9;
/* rgb */ color: rgb(71, 34, 169);
/* oklch */ color: oklch(40.0% 0.196 286.0);
Tailwind
colors: {
  custom: {
    50: '#8663c4',
    500: '#4722a9',
    950: '#000000',
  },
}
SCSS
$custom: #4722a9;
$custom-light: #8663c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4722a9",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 256.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.19619,
    "h": 286
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#4722A9
secondary
#AAC561
accent
#E93EBB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4722A9

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

Preview Lab → · Contrast checker → · Palette generator →

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