#72228F#72228F

#72228F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 315.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#72228F
RGBrgb(114, 34, 143)
HSLhsl(284, 62%, 35%)
HSVhsv(284, 76%, 56%)
CMYKcmyk(20.3%, 76.2%, 0%, 43.9%)
CIE-LABlab(31.13, 50.93, -43.80)
CIE-LCHlch(31.13, 67.17, 319.30°)
OKLaboklab(42.89% 0.1244 -0.1235)
OKLCHoklch(42.89% 0.175 315.2)
XYZxyz(12.4686, 6.7051, 26.6187)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72228F #3F8F22
analogous
#3C228F #72228F #8F2275
triadic
#72228F #8F7222 #228F72
tetradic
#72228F #8F3C22 #3F8F22 #22758F
square
#72228F #8F3C22 #3F8F22 #22758F
split-complementary
#72228F #758F22 #228F3C
monochromatic
#230A2C #4B165E #72228F #992EC0 #B455D7

Accessibility & contrast

On white

8.97
#72228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#72228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72228F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72228F#FFFFFF#000000##FFFFFF
##72228F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#703A57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72228f;
/* rgb */ color: rgb(114, 34, 143);
/* oklch */ color: oklch(42.9% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72228f',
    950: '#000000',
  },
}
SCSS
$custom: #72228f;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72228f",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 284.037,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.17531,
    "h": 315.2
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#72228F
secondary
#6EBA52
accent
#E5436E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72228F

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

Preview Lab → · Contrast checker → · Palette generator →

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