#72176F#72176F

#72176F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.159 H 329.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#72176F
RGBrgb(114, 23, 111)
HSLhsl(302, 66%, 27%)
HSVhsv(302, 80%, 45%)
CMYKcmyk(0%, 79.8%, 2.6%, 55.3%)
CIE-LABlab(27.68, 48.67, -29.20)
CIE-LCHlch(27.68, 56.76, 329.04°)
OKLaboklab(39.77% 0.1374 -0.0807)
OKLCHoklch(39.77% 0.159 329.5)
XYZxyz(10.1150, 5.3387, 15.5336)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176F #17721A
analogous
#481772 #72176F #721742
triadic
#72176F #6F7217 #176F72
tetradic
#72176F #724817 #17721A #174272
square
#72176F #724817 #17721A #174272
split-complementary
#72176F #427217 #177248
monochromatic
#190519 #3F0D3D #72176F #A521A1 #D52ECF

Accessibility & contrast

On white

10.16
#72176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#72176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72176F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176F#FFFFFF#000000##FFFFFF
##72176F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A71
Deuteranopia (green-blind)
#33466D
Tritanopia (blue-blind)
#762542
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176f;
/* rgb */ color: rgb(114, 23, 111);
/* oklch */ color: oklch(39.8% 0.159 329.5);
Tailwind
colors: {
  custom: {
    50: '#9e6099',
    500: '#72176f',
    950: '#000000',
  },
}
SCSS
$custom: #72176f;
$custom-light: #9e6099;
$custom-dark: #000000;
JSON
{
  "hex": "#72176f",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 301.978,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.15934,
    "h": 329.5
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#72176F
secondary
#3DA841
accent
#E9443E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #72176F

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

Preview Lab → · Contrast checker → · Palette generator →

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