#72177A#72177A

#72177A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.168 H 324.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#72177A
RGBrgb(114, 23, 122)
HSLhsl(295, 68%, 28%)
HSVhsv(295, 81%, 48%)
CMYKcmyk(6.6%, 81.1%, 0%, 52.2%)
CIE-LABlab(28.37, 50.62, -35.11)
CIE-LCHlch(28.37, 61.60, 325.25°)
OKLaboklab(40.48% 0.1369 -0.098)
OKLCHoklch(40.48% 0.168 324.4)
XYZxyz(10.7584, 5.5960, 18.9221)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72177A #1F7A17
analogous
#40177A #72177A #7A1750
triadic
#72177A #7A7217 #177A72
tetradic
#72177A #7A4017 #1F7A17 #17507A
square
#72177A #7A4017 #1F7A17 #17507A
split-complementary
#72177A #507A17 #177A40
monochromatic
#18051A #420D47 #72177A #A221AD #CB33D9

Accessibility & contrast

On white

9.91
#72177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#72177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72177A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72177A#FFFFFF#000000##FFFFFF
##72177A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2C4678
Tritanopia (blue-blind)
#742A49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72177a;
/* rgb */ color: rgb(114, 23, 122);
/* oklch */ color: oklch(40.5% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#9e61a1',
    500: '#72177a',
    950: '#000000',
  },
}
SCSS
$custom: #72177a;
$custom-light: #9e61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#72177a",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 295.152,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.16831,
    "h": 324.4
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#72177A
secondary
#47AF3E
accent
#EB3D4B
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #72177A

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

Preview Lab → · Contrast checker → · Palette generator →

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