#72178F#72178F

#72178F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.186 H 315.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#72178F
RGBrgb(114, 23, 143)
HSLhsl(286, 72%, 33%)
HSVhsv(286, 84%, 56%)
CMYKcmyk(20.3%, 83.9%, 0%, 43.9%)
CIE-LABlab(29.85, 54.62, -45.87)
CIE-LCHlch(29.85, 71.33, 319.98°)
OKLaboklab(41.99% 0.1337 -0.1295)
OKLCHoklch(41.99% 0.186 315.9)
XYZxyz(12.2030, 6.1739, 26.5302)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72178F #348F17
analogous
#36178F #72178F #8F1770
triadic
#72178F #8F7217 #178F72
tetradic
#72178F #8F3617 #348F17 #17708F
square
#72178F #8F3617 #348F17 #17708F
split-complementary
#72178F #708F17 #178F36
monochromatic
#1E0626 #480F5A #72178F #9C1FC4 #BA40E0

Accessibility & contrast

On white

9.40
#72178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#72178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72178F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72178F#FFFFFF#000000##FFFFFF
##72178F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#703555
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72178f;
/* rgb */ color: rgb(114, 23, 143);
/* oklch */ color: oklch(42.0% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#72178f',
    950: '#000000',
  },
}
SCSS
$custom: #72178f;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72178f",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 285.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.18615,
    "h": 315.9
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#72178F
secondary
#60C141
accent
#EF3965
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72178F

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

Preview Lab → · Contrast checker → · Palette generator →

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