#73228C#73228C

#73228C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 316.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#73228C
RGBrgb(115, 34, 140)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(17.9%, 75.7%, 0%, 45.1%)
CIE-LABlab(31.07, 50.52, -42.03)
CIE-LCHlch(31.07, 65.71, 320.24°)
OKLaboklab(42.82% 0.1261 -0.1183)
OKLCHoklch(42.82% 0.173 316.8)
XYZxyz(12.3752, 6.6829, 25.4439)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73228C #3B8C22
analogous
#3E228C #73228C #8C2270
triadic
#73228C #8C7322 #228C73
tetradic
#73228C #8C3E22 #3B8C22 #22708C
square
#73228C #8C3E22 #3B8C22 #22708C
split-complementary
#73228C #708C22 #228C3E
monochromatic
#220A2A #4B165B #73228C #9B2EBD #B753D5

Accessibility & contrast

On white

8.99
#73228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#73228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73228C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73228C#FFFFFF#000000##FFFFFF
##73228C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #73228c;
/* rgb */ color: rgb(115, 34, 140);
/* oklch */ color: oklch(42.8% 0.173 316.8);
Tailwind
colors: {
  custom: {
    50: '#9f66ae',
    500: '#73228c',
    950: '#000000',
  },
}
SCSS
$custom: #73228c;
$custom-light: #9f66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#73228c",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 285.849,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.17288,
    "h": 316.8
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#73228C
secondary
#69B951
accent
#E4446A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73228C

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

Preview Lab → · Contrast checker → · Palette generator →

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