#72176B#72176B

#72176B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.156 H 331.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#72176B
RGBrgb(114, 23, 107)
HSLhsl(305, 66%, 27%)
HSVhsv(305, 80%, 45%)
CMYKcmyk(0%, 79.8%, 6.1%, 55.3%)
CIE-LABlab(27.44, 48.00, -27.00)
CIE-LCHlch(27.44, 55.07, 330.65°)
OKLaboklab(39.52% 0.1373 -0.0744)
OKLCHoklch(39.52% 0.156 331.6)
XYZxyz(9.8997, 5.2526, 14.3995)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176B #17721E
analogous
#4C1772 #72176B #72173E
triadic
#72176B #6B7217 #176B72
tetradic
#72176B #724C17 #17721E #173E72
square
#72176B #724C17 #17721E #173E72
split-complementary
#72176B #3E7217 #17724C
monochromatic
#190518 #3F0D3B #72176B #A5219B #D52EC8

Accessibility & contrast

On white

10.24
#72176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72176B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176B#FFFFFF#000000##FFFFFF
##72176B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396D
Deuteranopia (green-blind)
#354569
Tritanopia (blue-blind)
#772340
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176b;
/* rgb */ color: rgb(114, 23, 107);
/* oklch */ color: oklch(39.5% 0.156 331.6);
Tailwind
colors: {
  custom: {
    50: '#9e6096',
    500: '#72176b',
    950: '#000000',
  },
}
SCSS
$custom: #72176b;
$custom-light: #9e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#72176b",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 304.615,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.15618,
    "h": 331.6
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#72176B
secondary
#3DA845
accent
#E94C3E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72176B

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

Preview Lab → · Contrast checker → · Palette generator →

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