#72227A#72227A

#72227A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.156 H 324.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#72227A
RGBrgb(114, 34, 122)
HSLhsl(295, 56%, 31%)
HSVhsv(295, 72%, 48%)
CMYKcmyk(6.6%, 72.1%, 0%, 52.2%)
CIE-LABlab(29.73, 46.72, -32.94)
CIE-LCHlch(29.73, 57.16, 324.82°)
OKLaboklab(41.45% 0.1262 -0.0917)
OKLCHoklch(41.45% 0.156 324)
XYZxyz(11.0240, 6.1273, 19.0106)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72227A #2A7A22
analogous
#46227A #72227A #7A2256
triadic
#72227A #7A7222 #227A72
tetradic
#72227A #7A4622 #2A7A22 #22567A
square
#72227A #7A4622 #2A7A22 #22567A
split-complementary
#72227A #567A22 #227A46
monochromatic
#19071A #45154A #72227A #9F2FAA #C14ACD

Accessibility & contrast

On white

9.44
#72227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#72227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72227A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72227A#FFFFFF#000000##FFFFFF
##72227A1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#74314B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72227a;
/* rgb */ color: rgb(114, 34, 122);
/* oklch */ color: oklch(41.5% 0.156 324.0);
Tailwind
colors: {
  custom: {
    50: '#9e65a1',
    500: '#72227a',
    950: '#000000',
  },
}
SCSS
$custom: #72227a;
$custom-light: #9e65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#72227a",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 294.545,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.15596,
    "h": 324
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#72227A
secondary
#54AD4B
accent
#E04856
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #72227A

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

Preview Lab → · Contrast checker → · Palette generator →

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