#72148A#72148A

#72148A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.184 H 317.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#72148A
RGBrgb(114, 20, 138)
HSLhsl(288, 75%, 31%)
HSVhsv(288, 86%, 54%)
CMYKcmyk(17.4%, 85.5%, 0%, 45.9%)
CIE-LABlab(29.19, 54.47, -43.83)
CIE-LCHlch(29.19, 69.91, 321.18°)
OKLaboklab(41.42% 0.1368 -0.1235)
OKLCHoklch(41.42% 0.184 317.9)
XYZxyz(11.7764, 5.9133, 24.5609)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72148A #2C8A14
analogous
#37148A #72148A #8A1467
triadic
#72148A #8A7214 #148A72
tetradic
#72148A #8A3714 #2C8A14 #14678A
square
#72148A #8A3714 #2C8A14 #14678A
split-complementary
#72148A #678A14 #148A37
monochromatic
#1A051F #460C55 #72148A #9E1CBF #BF36E2

Accessibility & contrast

On white

9.62
#72148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#72148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72148A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72148A#FFFFFF#000000##FFFFFF
##72148A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#713151
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #72148a;
/* rgb */ color: rgb(114, 20, 138);
/* oklch */ color: oklch(41.4% 0.184 317.9);
Tailwind
colors: {
  custom: {
    50: '#9f60ad',
    500: '#72148a',
    950: '#000000',
  },
}
SCSS
$custom: #72148a;
$custom-light: #9f60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72148a",
  "rgb": {
    "r": 114,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 287.797,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.18432,
    "h": 317.9
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#72148A
secondary
#56BE3C
accent
#F1365C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #72148A

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

Preview Lab → · Contrast checker → · Palette generator →

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