#72197C#72197C

#72197C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.168 H 323.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#72197C
RGBrgb(114, 25, 124)
HSLhsl(294, 66%, 29%)
HSVhsv(294, 80%, 49%)
CMYKcmyk(8.1%, 79.8%, 0%, 51.4%)
CIE-LABlab(28.72, 50.36, -35.82)
CIE-LCHlch(28.72, 61.80, 324.58°)
OKLaboklab(40.77% 0.135 -0.1001)
OKLCHoklch(40.77% 0.168 323.4)
XYZxyz(10.9248, 5.7286, 19.5952)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72197C #237C19
analogous
#41197C #72197C #7C1955
triadic
#72197C #7C7219 #197C72
tetradic
#72197C #7C4119 #237C19 #19557C
square
#72197C #7C4119 #237C19 #19557C
split-complementary
#72197C #557C19 #197C41
monochromatic
#170519 #430F49 #72197C #A123AF #C738D7

Accessibility & contrast

On white

9.79
#72197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#72197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72197C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72197C#FFFFFF#000000##FFFFFF
##72197C1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#742C4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72197c;
/* rgb */ color: rgb(114, 25, 124);
/* oklch */ color: oklch(40.8% 0.168 323.4);
Tailwind
colors: {
  custom: {
    50: '#9e61a2',
    500: '#72197c',
    950: '#000000',
  },
}
SCSS
$custom: #72197c;
$custom-light: #9e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72197c",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 293.939,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.16801,
    "h": 323.4
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#72197C
secondary
#4CB040
accent
#E93E50
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72197C

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

Preview Lab → · Contrast checker → · Palette generator →

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