#72226E#72226E

#72226E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.145 H 330.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#72226E
RGBrgb(114, 34, 110)
HSLhsl(303, 54%, 29%)
HSVhsv(303, 70%, 45%)
CMYKcmyk(0%, 70.2%, 3.5%, 55.3%)
CIE-LABlab(29.03, 44.50, -26.42)
CIE-LCHlch(29.03, 51.76, 329.30°)
OKLaboklab(40.72% 0.1259 -0.0728)
OKLCHoklch(40.72% 0.145 330)
XYZxyz(10.3259, 5.8480, 15.3337)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72226E #227226
analogous
#4E2272 #72226E #722246
triadic
#72226E #6E7222 #226E72
tetradic
#72226E #724E22 #227226 #224672
square
#72226E #724E22 #227226 #224672
split-complementary
#72226E #467222 #22724E
monochromatic
#180717 #431441 #72226E #A1309B #C846C1

Accessibility & contrast

On white

9.68
#72226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#72226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72226E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72226E#FFFFFF#000000##FFFFFF
##72226E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#38486C
Tritanopia (blue-blind)
#762C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72226e;
/* rgb */ color: rgb(114, 34, 110);
/* oklch */ color: oklch(40.7% 0.145 330.0);
Tailwind
colors: {
  custom: {
    50: '#9d6598',
    500: '#72226e',
    950: '#000000',
  },
}
SCSS
$custom: #72226e;
$custom-light: #9d6598;
$custom-dark: #000000;
JSON
{
  "hex": "#72226e",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 303,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.14543,
    "h": 330
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#72226E
secondary
#4BA54F
accent
#DD524A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #72226E

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

Preview Lab → · Contrast checker → · Palette generator →

#72226E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva