#7222A4#7222A4

#7222A4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.195 H 308.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7222A4
RGBrgb(114, 34, 164)
HSLhsl(277, 66%, 39%)
HSVhsv(277, 79%, 64%)
CMYKcmyk(30.5%, 79.3%, 0%, 35.7%)
CIE-LABlab(32.71, 55.44, -54.06)
CIE-LCHlch(32.71, 77.43, 315.72°)
OKLaboklab(44.5% 0.1203 -0.1536)
OKLCHoklch(44.5% 0.195 308.1)
XYZxyz(14.2109, 7.4020, 35.7949)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A4 #54A422
analogous
#3122A4 #7222A4 #A42295
triadic
#7222A4 #A47222 #22A472
tetradic
#7222A4 #A43122 #54A422 #2295A4
square
#7222A4 #A43122 #54A422 #2295A4
split-complementary
#7222A4 #95A422 #22A431
monochromatic
#2C0D3F #4F1771 #7222A4 #952FD4 #AF62DE

Accessibility & contrast

On white

8.47
#7222A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7222A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A4#FFFFFF#000000##FFFFFF
##7222A41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#6A4363
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7222a4;
/* rgb */ color: rgb(114, 34, 164);
/* oklch */ color: oklch(44.5% 0.195 308.1);
Tailwind
colors: {
  custom: {
    50: '#a067c0',
    500: '#7222a4',
    950: '#000000',
  },
}
SCSS
$custom: #7222a4;
$custom-light: #a067c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a4",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 276.923,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.445,
    "c": 0.19516,
    "h": 308.1
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#7222A4
secondary
#85C45E
accent
#E93F80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7222A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7222A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva