#72218D#72218D

#72218D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.175 H 316.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#72218D
RGBrgb(114, 33, 141)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 77%, 55%)
CMYKcmyk(19.1%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.85, 50.89, -43.01)
CIE-LCHlch(30.85, 66.63, 319.80°)
OKLaboklab(42.65% 0.1256 -0.1212)
OKLCHoklch(42.65% 0.175 316)
XYZxyz(12.2903, 6.5887, 25.8185)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218D #3C8D21
analogous
#3C218D #72218D #8D2172
triadic
#72218D #8D7221 #218D72
tetradic
#72218D #8D3C21 #3C8D21 #21728D
square
#72218D #8D3C21 #3C8D21 #21728D
split-complementary
#72218D #728D21 #218D3C
monochromatic
#220A2A #4A155B #72218D #9A2DBF #B552D6

Accessibility & contrast

On white

9.06
#72218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#72218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72218D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218D#FFFFFF#000000##FFFFFF
##72218D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#703956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72218d;
/* rgb */ color: rgb(114, 33, 141);
/* oklch */ color: oklch(42.7% 0.175 316.0);
Tailwind
colors: {
  custom: {
    50: '#9e65af',
    500: '#72218d',
    950: '#000000',
  },
}
SCSS
$custom: #72218d;
$custom-light: #9e65af;
$custom-dark: #000000;
JSON
{
  "hex": "#72218d",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.17456,
    "h": 316
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#72218D
secondary
#6ABA50
accent
#E5436B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72218D

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

Preview Lab → · Contrast checker → · Palette generator →

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