#72187C#72187C

#72187C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.169 H 323.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#72187C
RGBrgb(114, 24, 124)
HSLhsl(294, 68%, 29%)
HSVhsv(294, 81%, 49%)
CMYKcmyk(8.1%, 80.6%, 0%, 51.4%)
CIE-LABlab(28.61, 50.68, -35.99)
CIE-LCHlch(28.61, 62.16, 324.61°)
OKLaboklab(40.69% 0.1358 -0.1006)
OKLCHoklch(40.69% 0.169 323.5)
XYZxyz(10.9038, 5.6866, 19.5882)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72187C #227C18
analogous
#40187C #72187C #7C1854
triadic
#72187C #7C7218 #187C72
tetradic
#72187C #7C4018 #227C18 #18547C
square
#72187C #7C4018 #227C18 #18547C
split-complementary
#72187C #547C18 #187C40
monochromatic
#18051A #430E49 #72187C #A122AF #C836D8

Accessibility & contrast

On white

9.83
#72187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#72187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72187C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72187C#FFFFFF#000000##FFFFFF
##72187C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#742C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72187c;
/* rgb */ color: rgb(114, 24, 124);
/* oklch */ color: oklch(40.7% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#9e61a2',
    500: '#72187c',
    950: '#000000',
  },
}
SCSS
$custom: #72187c;
$custom-light: #9e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72187c",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 294,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.16901,
    "h": 323.5
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#72187C
secondary
#4BB13F
accent
#EA3D4F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72187C

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

Preview Lab → · Contrast checker → · Palette generator →

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