#72218E#72218E

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

Color values

HEX#72218E
RGBrgb(114, 33, 142)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 77%, 56%)
CMYKcmyk(19.7%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.92, 51.10, -43.52)
CIE-LCHlch(30.92, 67.12, 319.58°)
OKLaboklab(42.72% 0.1255 -0.1227)
OKLCHoklch(42.72% 0.175 315.7)
XYZxyz(12.3650, 6.6186, 26.2121)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72218E #3D8E21
analogous
#3C218E #72218E #8E2174
triadic
#72218E #8E7221 #218E72
tetradic
#72218E #8E3C21 #3D8E21 #21748E
square
#72218E #8E3C21 #3D8E21 #21748E
split-complementary
#72218E #748E21 #218E3C
monochromatic
#220A2B #4A155C #72218E #9A2DC0 #B552D7

Accessibility & contrast

On white

9.04
#72218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72218E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72218E#FFFFFF#000000##FFFFFF
##72218E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#703956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72218e;
/* rgb */ color: rgb(114, 33, 142);
/* oklch */ color: oklch(42.7% 0.175 315.7);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72218e',
    950: '#000000',
  },
}
SCSS
$custom: #72218e;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72218e",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 284.587,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.17549,
    "h": 315.7
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#72218E
secondary
#6CBA50
accent
#E5426C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72218E

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

Preview Lab → · Contrast checker → · Palette generator →

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