#72177B#72177B

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

Color values

HEX#72177B
RGBrgb(114, 23, 123)
HSLhsl(295, 68%, 29%)
HSVhsv(295, 81%, 48%)
CMYKcmyk(7.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(28.44, 50.80, -35.64)
CIE-LCHlch(28.44, 62.05, 324.95°)
OKLaboklab(40.55% 0.1368 -0.0995)
OKLCHoklch(40.55% 0.169 324)
XYZxyz(10.8207, 5.6210, 19.2501)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72177B #207B17
analogous
#40177B #72177B #7B1752
triadic
#72177B #7B7217 #177B72
tetradic
#72177B #7B4017 #207B17 #17527B
square
#72177B #7B4017 #207B17 #17527B
split-complementary
#72177B #527B17 #177B40
monochromatic
#18051A #420D47 #72177B #A221AF #CA33D9

Accessibility & contrast

On white

9.89
#72177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72177B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72177B#FFFFFF#000000##FFFFFF
##72177B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#742B49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72177b;
/* rgb */ color: rgb(114, 23, 123);
/* oklch */ color: oklch(40.5% 0.169 324.0);
Tailwind
colors: {
  custom: {
    50: '#9e61a2',
    500: '#72177b',
    950: '#000000',
  },
}
SCSS
$custom: #72177b;
$custom-light: #9e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72177b",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 294.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.16914,
    "h": 324
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#72177B
secondary
#48B03E
accent
#EB3C4C
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72177B

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

Preview Lab → · Contrast checker → · Palette generator →

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