#4722BD#4722BD

#4722BD is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.219 H 282.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4722BD
RGBrgb(71, 34, 189)
HSLhsl(254, 70%, 44%)
HSVhsv(254, 82%, 74%)
CMYKcmyk(62.4%, 82%, 0%, 25.9%)
CIE-LABlab(29.80, 55.83, -73.95)
CIE-LCHlch(29.80, 92.66, 307.05°)
OKLaboklab(42.03% 0.0475 -0.2133)
OKLCHoklch(42.03% 0.219 282.6)
XYZxyz(12.3530, 6.1569, 48.6717)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722BD #98BD22
analogous
#224ABD #4722BD #9422BD
triadic
#4722BD #BD4722 #22BD47
tetradic
#4722BD #BD224A #98BD22 #22BD94
square
#4722BD #BD224A #98BD22 #22BD94
split-complementary
#4722BD #BD9422 #4ABD22
monochromatic
#200F55 #341989 #4722BD #6540DD #8F73E6

Accessibility & contrast

On white

9.41
#4722BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4722BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722BD
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722BD#FFFFFF#000000##FFFFFF
##4722BD1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005271
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4722bd;
/* rgb */ color: rgb(71, 34, 189);
/* oklch */ color: oklch(42.0% 0.219 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a64d2',
    500: '#4722bd',
    950: '#000000',
  },
}
SCSS
$custom: #4722bd;
$custom-light: #8a64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4722bd",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 254.323,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.21851,
    "h": 282.6
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#4722BD
secondary
#B6CD6E
accent
#EC3BC2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4722BD

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

Preview Lab → · Contrast checker → · Palette generator →

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