#72176A#72176A

#72176A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.155 H 332.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#72176A
RGBrgb(114, 23, 106)
HSLhsl(305, 66%, 27%)
HSVhsv(305, 80%, 45%)
CMYKcmyk(0%, 79.8%, 7%, 55.3%)
CIE-LABlab(27.38, 47.83, -26.44)
CIE-LCHlch(27.38, 54.65, 331.07°)
OKLaboklab(39.46% 0.1373 -0.0728)
OKLCHoklch(39.46% 0.155 332.1)
XYZxyz(9.8474, 5.2316, 14.1240)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176A #17721F
analogous
#4D1772 #72176A #72173D
triadic
#72176A #6A7217 #176A72
tetradic
#72176A #724D17 #17721F #173D72
square
#72176A #724D17 #17721F #173D72
split-complementary
#72176A #3D7217 #17724D
monochromatic
#190518 #3F0D3B #72176A #A52199 #D52EC6

Accessibility & contrast

On white

10.26
#72176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72176A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176A#FFFFFF#000000##FFFFFF
##72176A1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396C
Deuteranopia (green-blind)
#364568
Tritanopia (blue-blind)
#772240
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176a;
/* rgb */ color: rgb(114, 23, 106);
/* oklch */ color: oklch(39.5% 0.155 332.1);
Tailwind
colors: {
  custom: {
    50: '#9e6095',
    500: '#72176a',
    950: '#000000',
  },
}
SCSS
$custom: #72176a;
$custom-light: #9e6095;
$custom-dark: #000000;
JSON
{
  "hex": "#72176a",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 305.275,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.1554,
    "h": 332.1
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#72176A
secondary
#3DA847
accent
#E94D3E
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72176A

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

Preview Lab → · Contrast checker → · Palette generator →

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