#72147F#72147F

#72147F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 322.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#72147F
RGBrgb(114, 20, 127)
HSLhsl(293, 73%, 29%)
HSVhsv(293, 84%, 50%)
CMYKcmyk(10.2%, 84.3%, 0%, 50.2%)
CIE-LABlab(28.41, 52.39, -38.21)
CIE-LCHlch(28.41, 64.85, 323.90°)
OKLaboklab(40.62% 0.1387 -0.107)
OKLCHoklch(40.62% 0.175 322.3)
XYZxyz(11.0200, 5.6107, 20.5771)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72147F #217F14
analogous
#3D147F #72147F #7F1457
triadic
#72147F #7F7214 #147F72
tetradic
#72147F #7F3D14 #217F14 #14577F
square
#72147F #7F3D14 #217F14 #14577F
split-complementary
#72147F #577F14 #147F3D
monochromatic
#18041A #430C4A #72147F #A11CB4 #C92FDE

Accessibility & contrast

On white

9.90
#72147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#72147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72147F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72147F#FFFFFF#000000##FFFFFF
##72147F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#732B4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72147f;
/* rgb */ color: rgb(114, 20, 127);
/* oklch */ color: oklch(40.6% 0.175 322.3);
Tailwind
colors: {
  custom: {
    50: '#9e60a5',
    500: '#72147f',
    950: '#000000',
  },
}
SCSS
$custom: #72147f;
$custom-light: #9e60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72147f",
  "rgb": {
    "r": 114,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 292.71,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.17514,
    "h": 322.3
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#72147F
secondary
#49B43B
accent
#EF384F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72147F

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

Preview Lab → · Contrast checker → · Palette generator →

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