#72227C#72227C

#72227C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.158 H 323.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#72227C
RGBrgb(114, 34, 124)
HSLhsl(293, 57%, 31%)
HSVhsv(293, 73%, 49%)
CMYKcmyk(8.1%, 72.6%, 0%, 51.4%)
CIE-LABlab(29.86, 47.11, -34.00)
CIE-LCHlch(29.86, 58.09, 324.18°)
OKLaboklab(41.58% 0.1261 -0.0948)
OKLCHoklch(41.58% 0.158 323.1)
XYZxyz(11.1492, 6.1773, 19.6700)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72227C #2C7C22
analogous
#45227C #72227C #7C2259
triadic
#72227C #7C7222 #227C72
tetradic
#72227C #7C4522 #2C7C22 #22597C
square
#72227C #7C4522 #2C7C22 #22597C
split-complementary
#72227C #597C22 #227C45
monochromatic
#1A081C #46154C #72227C #9E2FAC #BF4BCE

Accessibility & contrast

On white

9.39
#72227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#72227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72227C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72227C#FFFFFF#000000##FFFFFF
##72227C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407F
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#74324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72227c;
/* rgb */ color: rgb(114, 34, 124);
/* oklch */ color: oklch(41.6% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#9e65a2',
    500: '#72227c',
    950: '#000000',
  },
}
SCSS
$custom: #72227c;
$custom-light: #9e65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72227c",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 293.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.15777,
    "h": 323.1
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#72227C
secondary
#56AF4B
accent
#E04859
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72227C

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

Preview Lab → · Contrast checker → · Palette generator →

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