#72176D#72176D

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

Color values

HEX#72176D
RGBrgb(114, 23, 109)
HSLhsl(303, 66%, 27%)
HSVhsv(303, 80%, 45%)
CMYKcmyk(0%, 79.8%, 4.4%, 55.3%)
CIE-LABlab(27.56, 48.33, -28.10)
CIE-LCHlch(27.56, 55.91, 329.83°)
OKLaboklab(39.64% 0.1374 -0.0776)
OKLCHoklch(39.64% 0.158 330.5)
XYZxyz(10.0061, 5.2951, 14.9601)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176D #17721C
analogous
#4A1772 #72176D #721740
triadic
#72176D #6D7217 #176D72
tetradic
#72176D #724A17 #17721C #174072
square
#72176D #724A17 #17721C #174072
split-complementary
#72176D #407217 #17724A
monochromatic
#190518 #3F0D3C #72176D #A5219E #D52ECC

Accessibility & contrast

On white

10.20
#72176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#72176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72176D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176D#FFFFFF#000000##FFFFFF
##72176D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396F
Deuteranopia (green-blind)
#34456B
Tritanopia (blue-blind)
#772441
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176d;
/* rgb */ color: rgb(114, 23, 109);
/* oklch */ color: oklch(39.6% 0.158 330.5);
Tailwind
colors: {
  custom: {
    50: '#9e6097',
    500: '#72176d',
    950: '#000000',
  },
}
SCSS
$custom: #72176d;
$custom-light: #9e6097;
$custom-dark: #000000;
JSON
{
  "hex": "#72176d",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 303.297,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.15775,
    "h": 330.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#72176D
secondary
#3DA843
accent
#E9483E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72176D

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

Preview Lab → · Contrast checker → · Palette generator →

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