#72187A#72187A

#72187A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.167 H 324.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#72187A
RGBrgb(114, 24, 122)
HSLhsl(295, 67%, 29%)
HSVhsv(295, 80%, 48%)
CMYKcmyk(6.6%, 80.3%, 0%, 52.2%)
CIE-LABlab(28.48, 50.31, -34.94)
CIE-LCHlch(28.48, 61.25, 325.22°)
OKLaboklab(40.56% 0.136 -0.0975)
OKLCHoklch(40.56% 0.167 324.4)
XYZxyz(10.7786, 5.6365, 18.9288)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72187A #207A18
analogous
#41187A #72187A #7A1851
triadic
#72187A #7A7218 #187A72
tetradic
#72187A #7A4118 #207A18 #18517A
square
#72187A #7A4118 #207A18 #18517A
split-complementary
#72187A #517A18 #187A41
monochromatic
#18051A #420E47 #72187A #A222AD #CA35D7

Accessibility & contrast

On white

9.87
#72187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#72187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72187A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72187A#FFFFFF#000000##FFFFFF
##72187A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72187a;
/* rgb */ color: rgb(114, 24, 122);
/* oklch */ color: oklch(40.6% 0.167 324.4);
Tailwind
colors: {
  custom: {
    50: '#9e61a1',
    500: '#72187a',
    950: '#000000',
  },
}
SCSS
$custom: #72187a;
$custom-light: #9e61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#72187a",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 295.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.16733,
    "h": 324.4
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#72187A
secondary
#48AF3F
accent
#EA3E4C
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #72187A

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

Preview Lab → · Contrast checker → · Palette generator →

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