#72176C#72176C

#72176C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.157 H 331.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#72176C
RGBrgb(114, 23, 108)
HSLhsl(304, 66%, 27%)
HSVhsv(304, 80%, 45%)
CMYKcmyk(0%, 79.8%, 5.3%, 55.3%)
CIE-LABlab(27.50, 48.17, -27.55)
CIE-LCHlch(27.50, 55.49, 330.23°)
OKLaboklab(39.58% 0.1374 -0.076)
OKLCHoklch(39.58% 0.157 331.1)
XYZxyz(9.9526, 5.2737, 14.6782)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176C #17721D
analogous
#4B1772 #72176C #72173F
triadic
#72176C #6C7217 #176C72
tetradic
#72176C #724B17 #17721D #173F72
square
#72176C #724B17 #17721D #173F72
split-complementary
#72176C #3F7217 #17724B
monochromatic
#190518 #3F0D3C #72176C #A5219C #D52ECA

Accessibility & contrast

On white

10.22
#72176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#72176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72176C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176C#FFFFFF#000000##FFFFFF
##72176C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D396E
Deuteranopia (green-blind)
#35456A
Tritanopia (blue-blind)
#772341
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176c;
/* rgb */ color: rgb(114, 23, 108);
/* oklch */ color: oklch(39.6% 0.157 331.1);
Tailwind
colors: {
  custom: {
    50: '#9e6096',
    500: '#72176c',
    950: '#000000',
  },
}
SCSS
$custom: #72176c;
$custom-light: #9e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#72176c",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 303.956,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.15696,
    "h": 331.1
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#72176C
secondary
#3DA844
accent
#E94A3E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72176C

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

Preview Lab → · Contrast checker → · Palette generator →

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