#72228E#72228E

#72228E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.174 H 315.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#72228E
RGBrgb(114, 34, 142)
HSLhsl(284, 61%, 35%)
HSVhsv(284, 76%, 56%)
CMYKcmyk(19.7%, 76.1%, 0%, 44.3%)
CIE-LABlab(31.06, 50.72, -43.30)
CIE-LCHlch(31.06, 66.69, 319.51°)
OKLaboklab(42.82% 0.1245 -0.122)
OKLCHoklch(42.82% 0.174 315.6)
XYZxyz(12.3932, 6.6749, 26.2215)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72228E #3E8E22
analogous
#3C228E #72228E #8E2274
triadic
#72228E #8E7222 #228E72
tetradic
#72228E #8E3C22 #3E8E22 #22748E
square
#72228E #8E3C22 #3E8E22 #22748E
split-complementary
#72228E #748E22 #228E3C
monochromatic
#230A2B #4A165D #72228E #9A2EBF #B454D6

Accessibility & contrast

On white

8.99
#72228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#72228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72228E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72228E#FFFFFF#000000##FFFFFF
##72228E1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#703A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72228e;
/* rgb */ color: rgb(114, 34, 142);
/* oklch */ color: oklch(42.8% 0.174 315.6);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72228e',
    950: '#000000',
  },
}
SCSS
$custom: #72228e;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72228e",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 284.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.17437,
    "h": 315.6
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#72228E
secondary
#6DBA52
accent
#E4436D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72228E

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

Preview Lab → · Contrast checker → · Palette generator →

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