#72229A#72229A

#72229A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.186 H 311.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#72229A
RGBrgb(114, 34, 154)
HSLhsl(280, 64%, 37%)
HSVhsv(280, 78%, 60%)
CMYKcmyk(26%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.93, 53.26, -49.25)
CIE-LCHlch(31.93, 72.54, 317.24°)
OKLaboklab(43.71% 0.1225 -0.1395)
OKLCHoklch(43.71% 0.186 311.3)
XYZxyz(13.3431, 7.0549, 31.2244)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72229A #4A9A22
analogous
#36229A #72229A #9A2286
triadic
#72229A #9A7222 #229A72
tetradic
#72229A #9A3622 #4A9A22 #22869A
square
#72229A #9A3622 #4A9A22 #22869A
split-complementary
#72229A #869A22 #229A36
monochromatic
#280C36 #4D1768 #72229A #972DCC #B05BDB

Accessibility & contrast

On white

8.71
#72229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#72229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72229A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72229A#FFFFFF#000000##FFFFFF
##72229A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#064C98
Tritanopia (blue-blind)
#6D3F5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #72229a;
/* rgb */ color: rgb(114, 34, 154);
/* oklch */ color: oklch(43.7% 0.186 311.3);
Tailwind
colors: {
  custom: {
    50: '#9f67b9',
    500: '#72229a',
    950: '#000000',
  },
}
SCSS
$custom: #72229a;
$custom-light: #9f67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#72229a",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 280,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.18567,
    "h": 311.3
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#72229A
secondary
#7BBF58
accent
#E74178
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72229A

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

Preview Lab → · Contrast checker → · Palette generator →

#72229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva