#4722B4#4722B4

#4722B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.209 H 284.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4722B4
RGBrgb(71, 34, 180)
HSLhsl(255, 68%, 42%)
HSVhsv(255, 81%, 71%)
CMYKcmyk(60.6%, 81.1%, 0%, 29.4%)
CIE-LABlab(28.85, 53.32, -70.19)
CIE-LCHlch(28.85, 88.15, 307.22°)
OKLaboklab(41.08% 0.0505 -0.2023)
OKLCHoklch(41.08% 0.209 284)
XYZxyz(11.4062, 5.7782, 43.6854)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722B4 #8FB422
analogous
#2246B4 #4722B4 #9022B4
triadic
#4722B4 #B44722 #22B447
tetradic
#4722B4 #B42246 #8FB422 #22B490
square
#4722B4 #B42246 #8FB422 #22B490
split-complementary
#4722B4 #B49022 #46B422
monochromatic
#1E0F4D #331881 #4722B4 #623ADA #8B6DE3

Accessibility & contrast

On white

9.74
#4722B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4722B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722B4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722B4#FFFFFF#000000##FFFFFF
##4722B41.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4722b4;
/* rgb */ color: rgb(71, 34, 180);
/* oklch */ color: oklch(41.1% 0.209 284.0);
Tailwind
colors: {
  custom: {
    50: '#8863cc',
    500: '#4722b4',
    950: '#000000',
  },
}
SCSS
$custom: #4722b4;
$custom-light: #8863cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4722b4",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 255.205,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.20855,
    "h": 284
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#4722B4
secondary
#B1CA68
accent
#EB3DBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4722B4

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

Preview Lab → · Contrast checker → · Palette generator →

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