#72218F#72218F

#72218F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 315.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#72218F
RGBrgb(114, 33, 143)
HSLhsl(284, 63%, 35%)
HSVhsv(284, 77%, 56%)
CMYKcmyk(20.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.99, 51.31, -44.02)
CIE-LCHlch(30.99, 67.60, 319.37°)
OKLaboklab(42.8% 0.1254 -0.1241)
OKLCHoklch(42.8% 0.176 315.3)
XYZxyz(12.4404, 6.6488, 26.6093)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218F #3E8F21
analogous
#3B218F #72218F #8F2175
triadic
#72218F #8F7221 #218F72
tetradic
#72218F #8F3B21 #3E8F21 #21758F
square
#72218F #8F3B21 #3E8F21 #21758F
split-complementary
#72218F #758F21 #218F3B
monochromatic
#230A2C #4A165D #72218F #9A2CC1 #B453D7

Accessibility & contrast

On white

9.01
#72218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#72218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72218F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218F#FFFFFF#000000##FFFFFF
##72218F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#703957
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72218f;
/* rgb */ color: rgb(114, 33, 143);
/* oklch */ color: oklch(42.8% 0.176 315.3);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72218f',
    950: '#000000',
  },
}
SCSS
$custom: #72218f;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72218f",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 284.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.17642,
    "h": 315.3
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#72218F
secondary
#6DBB51
accent
#E6426D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72218F

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

Preview Lab → · Contrast checker → · Palette generator →

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