#72276B#72276B

#72276B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.1% C 0.136 H 331.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#72276B
RGBrgb(114, 39, 107)
HSLhsl(306, 49%, 30%)
HSVhsv(306, 66%, 45%)
CMYKcmyk(0%, 65.8%, 6.1%, 55.3%)
CIE-LABlab(29.64, 41.80, -23.54)
CIE-LCHlch(29.64, 47.97, 330.62°)
OKLaboklab(41.11% 0.1194 -0.0645)
OKLCHoklch(41.11% 0.136 331.6)
XYZxyz(10.3188, 6.0907, 14.5392)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72276B #27722E
analogous
#542772 #72276B #722745
triadic
#72276B #6B7227 #276B72
tetradic
#72276B #725427 #27722E #274572
square
#72276B #725427 #27722E #274572
split-complementary
#72276B #457227 #277254
monochromatic
#170815 #441740 #72276B #A03796 #C350B8

Accessibility & contrast

On white

9.47
#72276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72276B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72276B#FFFFFF#000000##FFFFFF
##72276B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#3C4A69
Tritanopia (blue-blind)
#772E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72276b;
/* rgb */ color: rgb(114, 39, 107);
/* oklch */ color: oklch(41.1% 0.136 331.6);
Tailwind
colors: {
  custom: {
    50: '#9d6795',
    500: '#72276b',
    950: '#000000',
  },
}
SCSS
$custom: #72276b;
$custom-light: #9d6795;
$custom-dark: #000000;
JSON
{
  "hex": "#72276b",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 305.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.1357,
    "h": 331.6
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#72276B
secondary
#50A458
accent
#D95C4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #72276B

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

Preview Lab → · Contrast checker → · Palette generator →

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