#72228B#72228B

#72228B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 316.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#72228B
RGBrgb(114, 34, 139)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(18%, 75.5%, 0%, 45.5%)
CIE-LABlab(30.85, 50.10, -41.78)
CIE-LCHlch(30.85, 65.24, 320.17°)
OKLaboklab(42.6% 0.1249 -0.1176)
OKLCHoklch(42.6% 0.172 316.7)
XYZxyz(12.1710, 6.5860, 25.0512)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72228B #3B8B22
analogous
#3E228B #72228B #8B2270
triadic
#72228B #8B7222 #228B72
tetradic
#72228B #8B3E22 #3B8B22 #22708B
square
#72228B #8B3E22 #3B8B22 #22708B
split-complementary
#72228B #708B22 #228B3E
monochromatic
#210A29 #4A165A #72228B #9A2EBC #B653D5

Accessibility & contrast

On white

9.06
#72228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#72228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72228B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72228B#FFFFFF#000000##FFFFFF
##72228B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#713855
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72228b;
/* rgb */ color: rgb(114, 34, 139);
/* oklch */ color: oklch(42.6% 0.172 316.7);
Tailwind
colors: {
  custom: {
    50: '#9e66ad',
    500: '#72228b',
    950: '#000000',
  },
}
SCSS
$custom: #72228b;
$custom-light: #9e66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72228b",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 285.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.17157,
    "h": 316.7
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#72228B
secondary
#69B850
accent
#E4446A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72228B

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

Preview Lab → · Contrast checker → · Palette generator →

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