#72228C#72228C

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

Color values

HEX#72228C
RGBrgb(114, 34, 140)
HSLhsl(285, 61%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(18.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(30.91, 50.31, -42.29)
CIE-LCHlch(30.91, 65.72, 319.95°)
OKLaboklab(42.67% 0.1248 -0.1191)
OKLCHoklch(42.67% 0.173 316.3)
XYZxyz(12.2444, 6.6154, 25.4378)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72228C #3C8C22
analogous
#3D228C #72228C #8C2271
triadic
#72228C #8C7222 #228C72
tetradic
#72228C #8C3D22 #3C8C22 #22718C
square
#72228C #8C3D22 #3C8C22 #22718C
split-complementary
#72228C #718C22 #228C3D
monochromatic
#220A2A #4A165B #72228C #9A2EBD #B553D5

Accessibility & contrast

On white

9.04
#72228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72228C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72228C#FFFFFF#000000##FFFFFF
##72228C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#703955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72228c;
/* rgb */ color: rgb(114, 34, 140);
/* oklch */ color: oklch(42.7% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#9e66ae',
    500: '#72228c',
    950: '#000000',
  },
}
SCSS
$custom: #72228c;
$custom-light: #9e66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#72228c",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 285.283,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.1725,
    "h": 316.3
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#72228C
secondary
#6AB951
accent
#E4446B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72228C

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

Preview Lab → · Contrast checker → · Palette generator →

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