#7222AA#7222AA

#7222AA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.201 H 306.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7222AA
RGBrgb(114, 34, 170)
HSLhsl(275, 67%, 40%)
HSVhsv(275, 80%, 67%)
CMYKcmyk(32.9%, 80%, 0%, 33.3%)
CIE-LABlab(33.19, 56.77, -56.89)
CIE-LCHlch(33.19, 80.37, 314.94°)
OKLaboklab(44.99% 0.1188 -0.1619)
OKLCHoklch(44.99% 0.201 306.3)
XYZxyz(14.7656, 7.6239, 38.7161)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222AA #5AAA22
analogous
#2E22AA #7222AA #AA229E
triadic
#7222AA #AA7222 #22AA72
tetradic
#7222AA #AA2E22 #5AAA22 #229EAA
square
#7222AA #AA2E22 #5AAA22 #229EAA
split-complementary
#7222AA #9EAA22 #22AA2E
monochromatic
#2E0E44 #501877 #7222AA #9333D6 #AE66E0

Accessibility & contrast

On white

8.32
#7222AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7222AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7222AA#FFFFFF#000000##FFFFFF
##7222AA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#684666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7222aa;
/* rgb */ color: rgb(114, 34, 170);
/* oklch */ color: oklch(45.0% 0.201 306.3);
Tailwind
colors: {
  custom: {
    50: '#a067c4',
    500: '#7222aa',
    950: '#000000',
  },
}
SCSS
$custom: #7222aa;
$custom-light: #a067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7222aa",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 275.294,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.20087,
    "h": 306.3
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#7222AA
secondary
#8BC662
accent
#EA3E85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7222AA

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

Preview Lab → · Contrast checker → · Palette generator →

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