#4722A0#4722A0

#4722A0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.186 H 287.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4722A0
RGBrgb(71, 34, 160)
HSLhsl(258, 65%, 38%)
HSVhsv(258, 79%, 63%)
CMYKcmyk(55.6%, 78.8%, 0%, 37.3%)
CIE-LABlab(26.80, 47.69, -61.53)
CIE-LCHlch(26.80, 77.85, 307.78°)
OKLaboklab(39.05% 0.0568 -0.1771)
OKLCHoklch(39.05% 0.186 287.8)
XYZxyz(9.5138, 5.0212, 33.7188)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722A0 #7BA022
analogous
#223CA0 #4722A0 #8622A0
triadic
#4722A0 #A04722 #22A047
tetradic
#4722A0 #A0223C #7BA022 #22A086
square
#4722A0 #A0223C #7BA022 #22A086
split-complementary
#4722A0 #A08622 #3CA022
monochromatic
#1A0D3B #31176E #4722A0 #5D2DD2 #845FDD

Accessibility & contrast

On white

10.48
#4722A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4722A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722A0
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722A0#FFFFFF#000000##FFFFFF
##4722A01.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#214660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4722a0;
/* rgb */ color: rgb(71, 34, 160);
/* oklch */ color: oklch(39.0% 0.186 287.8);
Tailwind
colors: {
  custom: {
    50: '#8562bd',
    500: '#4722a0',
    950: '#000000',
  },
}
SCSS
$custom: #4722a0;
$custom-light: #8562bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4722a0",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 257.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.18594,
    "h": 287.8
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#4722A0
secondary
#A4C25C
accent
#E840B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4722A0

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

Preview Lab → · Contrast checker → · Palette generator →

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