#72218A#72218A

#72218A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.172 H 317.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#72218A
RGBrgb(114, 33, 138)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 54%)
CMYKcmyk(17.4%, 76.1%, 0%, 45.9%)
CIE-LABlab(30.64, 50.28, -41.49)
CIE-LCHlch(30.64, 65.19, 320.47°)
OKLaboklab(42.44% 0.126 -0.1167)
OKLCHoklch(42.44% 0.172 317.2)
XYZxyz(12.0701, 6.5006, 24.6588)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218A #398A21
analogous
#3D218A #72218A #8A216D
triadic
#72218A #8A7221 #218A72
tetradic
#72218A #8A3D21 #398A21 #216D8A
square
#72218A #8A3D21 #398A21 #216D8A
split-complementary
#72218A #6D8A21 #218A3D
monochromatic
#200927 #491559 #72218A #9B2DBB #B750D5

Accessibility & contrast

On white

9.13
#72218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#72218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72218A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218A#FFFFFF#000000##FFFFFF
##72218A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#713754
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72218a;
/* rgb */ color: rgb(114, 33, 138);
/* oklch */ color: oklch(42.4% 0.172 317.2);
Tailwind
colors: {
  custom: {
    50: '#9e65ad',
    500: '#72218a',
    950: '#000000',
  },
}
SCSS
$custom: #72218a;
$custom-light: #9e65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72218a",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 286.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.17179,
    "h": 317.2
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#72218A
secondary
#67B94E
accent
#E54368
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72218A

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

Preview Lab → · Contrast checker → · Palette generator →

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