#72187B#72187B

#72187B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.168 H 323.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#72187B
RGBrgb(114, 24, 123)
HSLhsl(295, 67%, 29%)
HSVhsv(295, 80%, 48%)
CMYKcmyk(7.3%, 80.5%, 0%, 51.8%)
CIE-LABlab(28.54, 50.49, -35.47)
CIE-LCHlch(28.54, 61.70, 324.91°)
OKLaboklab(40.62% 0.1359 -0.099)
OKLCHoklch(40.62% 0.168 323.9)
XYZxyz(10.8409, 5.6614, 19.2568)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72187B #217B18
analogous
#41187B #72187B #7B1853
triadic
#72187B #7B7218 #187B72
tetradic
#72187B #7B4118 #217B18 #18537B
square
#72187B #7B4118 #217B18 #18537B
split-complementary
#72187B #537B18 #187B41
monochromatic
#18051A #430E48 #72187B #A122AE #C936D8

Accessibility & contrast

On white

9.85
#72187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72187B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72187B#FFFFFF#000000##FFFFFF
##72187B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72187b;
/* rgb */ color: rgb(114, 24, 123);
/* oklch */ color: oklch(40.6% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#9e61a2',
    500: '#72187b',
    950: '#000000',
  },
}
SCSS
$custom: #72187b;
$custom-light: #9e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72187b",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 294.545,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.16817,
    "h": 323.9
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#72187B
secondary
#49B03F
accent
#EA3E4D
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72187B

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

Preview Lab → · Contrast checker → · Palette generator →

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