#72177E#72177E

#72177E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.172 H 322.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#72177E
RGBrgb(114, 23, 126)
HSLhsl(293, 69%, 29%)
HSVhsv(293, 82%, 49%)
CMYKcmyk(9.5%, 81.7%, 0%, 50.6%)
CIE-LABlab(28.64, 51.35, -37.21)
CIE-LCHlch(28.64, 63.42, 324.07°)
OKLaboklab(40.75% 0.1365 -0.1041)
OKLCHoklch(40.75% 0.172 322.7)
XYZxyz(11.0113, 5.6972, 20.2543)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72177E #237E17
analogous
#3F177E #72177E #7E1757
triadic
#72177E #7E7217 #177E72
tetradic
#72177E #7E3F17 #237E17 #17577E
square
#72177E #7E3F17 #237E17 #17577E
split-complementary
#72177E #577E17 #177E3F
monochromatic
#17051A #430E4A #72177E #A120B2 #C735DA

Accessibility & contrast

On white

9.82
#72177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#72177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72177E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72177E#FFFFFF#000000##FFFFFF
##72177E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#742C4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72177e;
/* rgb */ color: rgb(114, 23, 126);
/* oklch */ color: oklch(40.8% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#9e61a4',
    500: '#72177e',
    950: '#000000',
  },
}
SCSS
$custom: #72177e;
$custom-light: #9e61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72177e",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 293.01,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.17165,
    "h": 322.7
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#72177E
secondary
#4CB33E
accent
#EC3C50
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72177E

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

Preview Lab → · Contrast checker → · Palette generator →

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