#72227E#72227E

#72227E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.160 H 322.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#72227E
RGBrgb(114, 34, 126)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 73%, 49%)
CMYKcmyk(9.5%, 73%, 0%, 50.6%)
CIE-LABlab(29.98, 47.49, -35.06)
CIE-LCHlch(29.98, 59.03, 323.57°)
OKLaboklab(41.71% 0.126 -0.0979)
OKLCHoklch(41.71% 0.16 322.2)
XYZxyz(11.2770, 6.2284, 20.3428)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72227E #2E7E22
analogous
#44227E #72227E #7E225C
triadic
#72227E #7E7222 #227E72
tetradic
#72227E #7E4422 #2E7E22 #225C7E
square
#72227E #7E4422 #2E7E22 #225C7E
split-complementary
#72227E #5C7E22 #227E44
monochromatic
#1B081E #46154E #72227E #9E2FAE #BE4CCF

Accessibility & contrast

On white

9.35
#72227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#72227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72227E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72227E#FFFFFF#000000##FFFFFF
##72227E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#73324E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72227e;
/* rgb */ color: rgb(114, 34, 126);
/* oklch */ color: oklch(41.7% 0.160 322.2);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#72227e',
    950: '#000000',
  },
}
SCSS
$custom: #72227e;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72227e",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 292.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.15958,
    "h": 322.2
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#72227E
secondary
#58B14B
accent
#E1475B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72227E

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

Preview Lab → · Contrast checker → · Palette generator →

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