#72176E#72176E

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

Color values

HEX#72176E
RGBrgb(114, 23, 110)
HSLhsl(303, 66%, 27%)
HSVhsv(303, 80%, 45%)
CMYKcmyk(0%, 79.8%, 3.5%, 55.3%)
CIE-LABlab(27.62, 48.50, -28.65)
CIE-LCHlch(27.62, 56.33, 329.43°)
OKLaboklab(39.71% 0.1374 -0.0792)
OKLCHoklch(39.71% 0.159 330)
XYZxyz(10.0603, 5.3168, 15.2452)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72176E #17721B
analogous
#491772 #72176E #721741
triadic
#72176E #6E7217 #176E72
tetradic
#72176E #724917 #17721B #174172
square
#72176E #724917 #17721B #174172
split-complementary
#72176E #417217 #177249
monochromatic
#190519 #3F0D3D #72176E #A5219F #D52ECE

Accessibility & contrast

On white

10.18
#72176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72176E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72176E#FFFFFF#000000##FFFFFF
##72176E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093970
Deuteranopia (green-blind)
#33456C
Tritanopia (blue-blind)
#762442
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72176e;
/* rgb */ color: rgb(114, 23, 110);
/* oklch */ color: oklch(39.7% 0.159 330.0);
Tailwind
colors: {
  custom: {
    50: '#9e6098',
    500: '#72176e',
    950: '#000000',
  },
}
SCSS
$custom: #72176e;
$custom-light: #9e6098;
$custom-dark: #000000;
JSON
{
  "hex": "#72176e",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 302.637,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.15855,
    "h": 330
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#72176E
secondary
#3DA842
accent
#E9463E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72176E

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

Preview Lab → · Contrast checker → · Palette generator →

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