#72179F#72179F

#72179F is a dark, highly saturated purple. Relative luminance 0.067; OKLCH L 43.3% C 0.200 H 310.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#72179F
RGBrgb(114, 23, 159)
HSLhsl(280, 75%, 36%)
HSVhsv(280, 86%, 62%)
CMYKcmyk(28.3%, 85.5%, 0%, 37.6%)
CIE-LABlab(31.10, 57.88, -53.64)
CIE-LCHlch(31.10, 78.92, 317.17°)
OKLaboklab(43.26% 0.1298 -0.1524)
OKLCHoklch(43.26% 0.2 310.4)
XYZxyz(13.5026, 6.6937, 33.3749)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72179F #449F17
analogous
#2E179F #72179F #9F1788
triadic
#72179F #9F7217 #179F72
tetradic
#72179F #9F2E17 #449F17 #17889F
square
#72179F #9F2E17 #449F17 #17889F
split-complementary
#72179F #889F17 #179F2E
monochromatic
#250834 #4C0F6A #72179F #981FD4 #B24BE5

Accessibility & contrast

On white

8.98
#72179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#72179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72179F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72179F#FFFFFF#000000##FFFFFF
##72179F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#6C3D5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72179f;
/* rgb */ color: rgb(114, 23, 159);
/* oklch */ color: oklch(43.3% 0.200 310.4);
Tailwind
colors: {
  custom: {
    50: '#a063bc',
    500: '#72179f',
    950: '#000000',
  },
}
SCSS
$custom: #72179f;
$custom-light: #a063bc;
$custom-dark: #000000;
JSON
{
  "hex": "#72179f",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 280.147,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.20012,
    "h": 310.4
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#72179F
secondary
#74C74B
accent
#F13674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #72179F

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

Preview Lab → · Contrast checker → · Palette generator →

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