#4722B2#4722B2

#4722B2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.206 H 284.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4722B2
RGBrgb(71, 34, 178)
HSLhsl(255, 68%, 42%)
HSVhsv(255, 81%, 70%)
CMYKcmyk(60.1%, 80.9%, 0%, 30.2%)
CIE-LABlab(28.64, 52.76, -69.34)
CIE-LCHlch(28.64, 87.14, 307.27°)
OKLaboklab(40.88% 0.0511 -0.1999)
OKLCHoklch(40.88% 0.206 284.3)
XYZxyz(11.2040, 5.6973, 42.6201)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722B2 #8DB222
analogous
#2245B2 #4722B2 #8F22B2
triadic
#4722B2 #B24722 #22B247
tetradic
#4722B2 #B22245 #8DB222 #22B28F
square
#4722B2 #B22245 #8DB222 #22B28F
split-complementary
#4722B2 #B28F22 #45B222
monochromatic
#1E0E4B #33187F #4722B2 #6238D9 #8A6CE3

Accessibility & contrast

On white

9.81
#4722B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4722B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722B2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722B2#FFFFFF#000000##FFFFFF
##4722B21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4722b2;
/* rgb */ color: rgb(71, 34, 178);
/* oklch */ color: oklch(40.9% 0.206 284.3);
Tailwind
colors: {
  custom: {
    50: '#8863ca',
    500: '#4722b2',
    950: '#000000',
  },
}
SCSS
$custom: #4722b2;
$custom-light: #8863ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4722b2",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 178
  },
  "hsl": {
    "h": 255.417,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.20631,
    "h": 284.3
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#4722B2
secondary
#B0C967
accent
#EB3DBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4722B2

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

Preview Lab → · Contrast checker → · Palette generator →

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