#4722B3#4722B3

#4722B3 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.207 H 284.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4722B3
RGBrgb(71, 34, 179)
HSLhsl(255, 68%, 42%)
HSVhsv(255, 81%, 70%)
CMYKcmyk(60.3%, 81%, 0%, 29.8%)
CIE-LABlab(28.74, 53.04, -69.77)
CIE-LCHlch(28.74, 87.64, 307.25°)
OKLaboklab(40.98% 0.0508 -0.2011)
OKLCHoklch(40.98% 0.207 284.2)
XYZxyz(11.3047, 5.7376, 43.1508)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722B3 #8EB322
analogous
#2246B3 #4722B3 #9022B3
triadic
#4722B3 #B34722 #22B347
tetradic
#4722B3 #B32246 #8EB322 #22B390
square
#4722B3 #B32246 #8EB322 #22B390
split-complementary
#4722B3 #B39022 #46B322
monochromatic
#1E0E4C #331880 #4722B3 #6239D9 #8B6CE3

Accessibility & contrast

On white

9.78
#4722B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4722B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722B3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722B3#FFFFFF#000000##FFFFFF
##4722B31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4722b3;
/* rgb */ color: rgb(71, 34, 179);
/* oklch */ color: oklch(41.0% 0.207 284.2);
Tailwind
colors: {
  custom: {
    50: '#8863cb',
    500: '#4722b3',
    950: '#000000',
  },
}
SCSS
$custom: #4722b3;
$custom-light: #8863cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4722b3",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 255.31,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.20742,
    "h": 284.2
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#4722B3
secondary
#B0C968
accent
#EB3DBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4722B3

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

Preview Lab → · Contrast checker → · Palette generator →

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