#72197B#72197B

#72197B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.167 H 323.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#72197B
RGBrgb(114, 25, 123)
HSLhsl(294, 66%, 29%)
HSVhsv(294, 80%, 48%)
CMYKcmyk(7.3%, 79.7%, 0%, 51.8%)
CIE-LABlab(28.65, 50.17, -35.29)
CIE-LCHlch(28.65, 61.34, 324.88°)
OKLaboklab(40.7% 0.1351 -0.0985)
OKLCHoklch(40.7% 0.167 323.9)
XYZxyz(10.8619, 5.7034, 19.2638)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72197B #227B19
analogous
#41197B #72197B #7B1953
triadic
#72197B #7B7219 #197B72
tetradic
#72197B #7B4119 #227B19 #19537B
square
#72197B #7B4119 #227B19 #19537B
split-complementary
#72197B #537B19 #197B41
monochromatic
#180519 #430F48 #72197B #A123AE #C838D7

Accessibility & contrast

On white

9.81
#72197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#72197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72197B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72197B#FFFFFF#000000##FFFFFF
##72197B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72197b;
/* rgb */ color: rgb(114, 25, 123);
/* oklch */ color: oklch(40.7% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#9e61a2',
    500: '#72197b',
    950: '#000000',
  },
}
SCSS
$custom: #72197b;
$custom-light: #9e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72197b",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 294.49,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.16717,
    "h": 323.9
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#72197B
secondary
#4BAF40
accent
#E93F4E
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72197B

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

Preview Lab → · Contrast checker → · Palette generator →

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