#72217F#72217F

#72217F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.162 H 321.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#72217F
RGBrgb(114, 33, 127)
HSLhsl(292, 59%, 31%)
HSVhsv(292, 74%, 50%)
CMYKcmyk(10.2%, 74%, 0%, 50.2%)
CIE-LABlab(29.91, 48.08, -35.80)
CIE-LCHlch(29.91, 59.95, 323.33°)
OKLaboklab(41.68% 0.127 -0.1001)
OKLCHoklch(41.68% 0.162 321.8)
XYZxyz(11.3136, 6.1980, 20.6750)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72217F #2E7F21
analogous
#43217F #72217F #7F215D
triadic
#72217F #7F7221 #217F72
tetradic
#72217F #7F4321 #2E7F21 #215D7F
square
#72217F #7F4321 #2E7F21 #215D7F
split-complementary
#72217F #5D7F21 #217F43
monochromatic
#1B081E #46144E #72217F #9E2EB0 #BE4AD0

Accessibility & contrast

On white

9.38
#72217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#72217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72217F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72217F#FFFFFF#000000##FFFFFF
##72217F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#73324E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72217f;
/* rgb */ color: rgb(114, 33, 127);
/* oklch */ color: oklch(41.7% 0.162 321.8);
Tailwind
colors: {
  custom: {
    50: '#9e65a5',
    500: '#72217f',
    950: '#000000',
  },
}
SCSS
$custom: #72217f;
$custom-light: #9e65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72217f",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 291.702,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.16172,
    "h": 321.8
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#72217F
secondary
#58B24A
accent
#E2465B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72217F

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

Preview Lab → · Contrast checker → · Palette generator →

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