#72177F#72177F

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

Color values

HEX#72177F
RGBrgb(114, 23, 127)
HSLhsl(293, 69%, 29%)
HSVhsv(293, 82%, 50%)
CMYKcmyk(10.2%, 81.9%, 0%, 50.2%)
CIE-LABlab(28.70, 51.54, -37.73)
CIE-LCHlch(28.70, 63.87, 323.79°)
OKLaboklab(40.82% 0.1363 -0.1056)
OKLCHoklch(40.82% 0.172 322.2)
XYZxyz(11.0762, 5.7232, 20.5958)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72177F #247F17
analogous
#3E177F #72177F #7F1758
triadic
#72177F #7F7217 #177F72
tetradic
#72177F #7F3E17 #247F17 #17587F
square
#72177F #7F3E17 #247F17 #17587F
split-complementary
#72177F #587F17 #177F3E
monochromatic
#17051A #430E4B #72177F #A120B3 #C636DB

Accessibility & contrast

On white

9.79
#72177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72177F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72177F#FFFFFF#000000##FFFFFF
##72177F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#732D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72177f;
/* rgb */ color: rgb(114, 23, 127);
/* oklch */ color: oklch(40.8% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#9e61a5',
    500: '#72177f',
    950: '#000000',
  },
}
SCSS
$custom: #72177f;
$custom-light: #9e61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72177f",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 292.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.17248,
    "h": 322.2
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#72177F
secondary
#4DB43E
accent
#EC3C52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72177F

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

Preview Lab → · Contrast checker → · Palette generator →

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