#7221AA#7221AA

#7221AA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.202 H 306.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7221AA
RGBrgb(114, 33, 170)
HSLhsl(275, 67%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(32.9%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.07, 57.13, -57.08)
CIE-LCHlch(33.07, 80.76, 315.02°)
OKLaboklab(44.9% 0.1196 -0.1625)
OKLCHoklch(44.9% 0.202 306.4)
XYZxyz(14.7374, 7.5675, 38.7067)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221AA #59AA21
analogous
#2D21AA #7221AA #AA219E
triadic
#7221AA #AA7221 #21AA72
tetradic
#7221AA #AA2D21 #59AA21 #219EAA
square
#7221AA #AA2D21 #59AA21 #219EAA
split-complementary
#7221AA #9EAA21 #21AA2D
monochromatic
#2D0D43 #501777 #7221AA #9331D7 #AE64E1

Accessibility & contrast

On white

8.36
#7221AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7221AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221AA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221AA#FFFFFF#000000##FFFFFF
##7221AA1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7221aa;
/* rgb */ color: rgb(114, 33, 170);
/* oklch */ color: oklch(44.9% 0.202 306.4);
Tailwind
colors: {
  custom: {
    50: '#a067c4',
    500: '#7221aa',
    950: '#000000',
  },
}
SCSS
$custom: #7221aa;
$custom-light: #a067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7221aa",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 275.474,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.2018,
    "h": 306.4
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#7221AA
secondary
#8AC661
accent
#EA3D84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7221AA

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

Preview Lab → · Contrast checker → · Palette generator →

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