#72217C#72217C

#72217C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.159 H 323.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#72217C
RGBrgb(114, 33, 124)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 73%, 49%)
CMYKcmyk(8.1%, 73.4%, 0%, 51.4%)
CIE-LABlab(29.72, 47.50, -34.22)
CIE-LCHlch(29.72, 58.55, 324.23°)
OKLaboklab(41.48% 0.1272 -0.0955)
OKLCHoklch(41.48% 0.159 323.1)
XYZxyz(11.1210, 6.1210, 19.6606)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72217C #2B7C21
analogous
#44217C #72217C #7C2158
triadic
#72217C #7C7221 #217C72
tetradic
#72217C #7C4421 #2B7C21 #21587C
square
#72217C #7C4421 #2B7C21 #21587C
split-complementary
#72217C #587C21 #217C44
monochromatic
#19071B #46144C #72217C #9E2EAC #C049CF

Accessibility & contrast

On white

9.44
#72217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#72217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72217C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72217C#FFFFFF#000000##FFFFFF
##72217C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#74314C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72217c;
/* rgb */ color: rgb(114, 33, 124);
/* oklch */ color: oklch(41.5% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#9e65a2',
    500: '#72217c',
    950: '#000000',
  },
}
SCSS
$custom: #72217c;
$custom-light: #9e65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72217c",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 293.407,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.15902,
    "h": 323.1
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#72217C
secondary
#55AF4A
accent
#E14758
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72217C

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

Preview Lab → · Contrast checker → · Palette generator →

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