#72218B#72218B

#72218B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.173 H 316.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#72218B
RGBrgb(114, 33, 139)
HSLhsl(286, 62%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(18%, 76.3%, 0%, 45.5%)
CIE-LABlab(30.71, 50.48, -42.00)
CIE-LCHlch(30.71, 65.67, 320.24°)
OKLaboklab(42.51% 0.1259 -0.1182)
OKLCHoklch(42.51% 0.173 316.8)
XYZxyz(12.1428, 6.5297, 25.0418)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218B #3A8B21
analogous
#3D218B #72218B #8B216F
triadic
#72218B #8B7221 #218B72
tetradic
#72218B #8B3D21 #3A8B21 #216F8B
square
#72218B #8B3D21 #3A8B21 #216F8B
split-complementary
#72218B #6F8B21 #218B3D
monochromatic
#210A28 #49155A #72218B #9B2DBC #B651D6

Accessibility & contrast

On white

9.11
#72218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72218B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218B#FFFFFF#000000##FFFFFF
##72218B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#713855
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72218b;
/* rgb */ color: rgb(114, 33, 139);
/* oklch */ color: oklch(42.5% 0.173 316.8);
Tailwind
colors: {
  custom: {
    50: '#9e65ad',
    500: '#72218b',
    950: '#000000',
  },
}
SCSS
$custom: #72218b;
$custom-light: #9e65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72218b",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 285.849,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.17271,
    "h": 316.8
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#72218B
secondary
#68B94F
accent
#E54369
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72218B

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

Preview Lab → · Contrast checker → · Palette generator →

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