#72276C#72276C

#72276C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 331.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#72276C
RGBrgb(114, 39, 108)
HSLhsl(305, 49%, 30%)
HSVhsv(305, 66%, 45%)
CMYKcmyk(0%, 65.8%, 5.3%, 55.3%)
CIE-LABlab(29.69, 41.98, -24.09)
CIE-LCHlch(29.69, 48.40, 330.15°)
OKLaboklab(41.16% 0.1195 -0.0661)
OKLCHoklch(41.16% 0.137 331)
XYZxyz(10.3717, 6.1119, 14.8179)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72276C #27722D
analogous
#532772 #72276C #722746
triadic
#72276C #6C7227 #276C72
tetradic
#72276C #725327 #27722D #274672
square
#72276C #725327 #27722D #274672
split-complementary
#72276C #467227 #277253
monochromatic
#170816 #441741 #72276C #A03797 #C350BA

Accessibility & contrast

On white

9.45
#72276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#72276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72276C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72276C#FFFFFF#000000##FFFFFF
##72276C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#3C4A6A
Tritanopia (blue-blind)
#772E46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72276c;
/* rgb */ color: rgb(114, 39, 108);
/* oklch */ color: oklch(41.2% 0.137 331.0);
Tailwind
colors: {
  custom: {
    50: '#9d6796',
    500: '#72276c',
    950: '#000000',
  },
}
SCSS
$custom: #72276c;
$custom-light: #9d6796;
$custom-dark: #000000;
JSON
{
  "hex": "#72276c",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 304.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.13658,
    "h": 331
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#72276C
secondary
#50A457
accent
#D95A4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #72276C

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

Preview Lab → · Contrast checker → · Palette generator →

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