#72278D#72278D

#72278D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.167 H 315.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#72278D
RGBrgb(114, 39, 141)
HSLhsl(284, 57%, 35%)
HSVhsv(284, 72%, 55%)
CMYKcmyk(19.1%, 72.3%, 0%, 44.7%)
CIE-LABlab(31.70, 48.49, -41.65)
CIE-LCHlch(31.70, 63.92, 319.34°)
OKLaboklab(43.25% 0.1195 -0.1172)
OKLCHoklch(43.25% 0.167 315.6)
XYZxyz(12.4719, 6.9520, 25.8790)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72278D #428D27
analogous
#3F278D #72278D #8D2775
triadic
#72278D #8D7227 #278D72
tetradic
#72278D #8D3F27 #428D27 #27758D
square
#72278D #8D3F27 #428D27 #27758D
split-complementary
#72278D #758D27 #278D3F
monochromatic
#240C2D #4B1A5D #72278D #9934BD #B35CD2

Accessibility & contrast

On white

8.79
#72278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#72278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72278D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72278D#FFFFFF#000000##FFFFFF
##72278D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#703C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #72278d;
/* rgb */ color: rgb(114, 39, 141);
/* oklch */ color: oklch(43.3% 0.167 315.6);
Tailwind
colors: {
  custom: {
    50: '#9e68af',
    500: '#72278d',
    950: '#000000',
  },
}
SCSS
$custom: #72278d;
$custom-light: #9e68af;
$custom-dark: #000000;
JSON
{
  "hex": "#72278d",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 284.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.16742,
    "h": 315.6
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#72278D
secondary
#72B759
accent
#E04870
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #72278D

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

Preview Lab → · Contrast checker → · Palette generator →

#72278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva