#72218C#72218C

#72218C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.174 H 316.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#72218C
RGBrgb(114, 33, 140)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(18.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(30.78, 50.69, -42.51)
CIE-LCHlch(30.78, 66.15, 320.02°)
OKLaboklab(42.58% 0.1258 -0.1197)
OKLCHoklch(42.58% 0.174 316.4)
XYZxyz(12.2162, 6.5591, 25.4284)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218C #3B8C21
analogous
#3D218C #72218C #8C2171
triadic
#72218C #8C7221 #218C72
tetradic
#72218C #8C3D21 #3B8C21 #21718C
square
#72218C #8C3D21 #3B8C21 #21718C
split-complementary
#72218C #718C21 #218C3D
monochromatic
#210A29 #4A155A #72218C #9A2DBE #B651D6

Accessibility & contrast

On white

9.08
#72218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#72218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72218C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218C#FFFFFF#000000##FFFFFF
##72218C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#703855
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72218c;
/* rgb */ color: rgb(114, 33, 140);
/* oklch */ color: oklch(42.6% 0.174 316.4);
Tailwind
colors: {
  custom: {
    50: '#9e65ae',
    500: '#72218c',
    950: '#000000',
  },
}
SCSS
$custom: #72218c;
$custom-light: #9e65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#72218c",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 285.421,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.17364,
    "h": 316.4
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#72218C
secondary
#69B94F
accent
#E5436A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72218C

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

Preview Lab → · Contrast checker → · Palette generator →

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