#72228D#72228D

#72228D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.173 H 316.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#72228D
RGBrgb(114, 34, 141)
HSLhsl(285, 61%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(19.1%, 75.9%, 0%, 44.7%)
CIE-LABlab(30.98, 50.51, -42.80)
CIE-LCHlch(30.98, 66.20, 319.73°)
OKLaboklab(42.75% 0.1247 -0.1206)
OKLCHoklch(42.75% 0.173 316)
XYZxyz(12.3184, 6.6450, 25.8279)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72228D #3D8D22
analogous
#3D228D #72228D #8D2273
triadic
#72228D #8D7222 #228D72
tetradic
#72228D #8D3D22 #3D8D22 #22738D
square
#72228D #8D3D22 #3D8D22 #22738D
split-complementary
#72228D #738D22 #228D3D
monochromatic
#220A2A #4A165C #72228D #9A2EBE #B554D6

Accessibility & contrast

On white

9.02
#72228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72228D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72228D#FFFFFF#000000##FFFFFF
##72228D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#703956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72228d;
/* rgb */ color: rgb(114, 34, 141);
/* oklch */ color: oklch(42.7% 0.173 316.0);
Tailwind
colors: {
  custom: {
    50: '#9e66af',
    500: '#72228d',
    950: '#000000',
  },
}
SCSS
$custom: #72228d;
$custom-light: #9e66af;
$custom-dark: #000000;
JSON
{
  "hex": "#72228d",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 284.86,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.17344,
    "h": 316
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#72228D
secondary
#6CB951
accent
#E4446C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72228D

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

Preview Lab → · Contrast checker → · Palette generator →

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