#73218B#73218B

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

Color values

HEX#73218B
RGBrgb(115, 33, 139)
HSLhsl(286, 62%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(17.3%, 76.3%, 0%, 45.5%)
CIE-LABlab(30.87, 50.69, -41.73)
CIE-LCHlch(30.87, 65.66, 320.54°)
OKLaboklab(42.65% 0.1272 -0.1174)
OKLCHoklch(42.65% 0.173 317.3)
XYZxyz(12.2736, 6.5972, 25.0480)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73218B #398B21
analogous
#3E218B #73218B #8B216E
triadic
#73218B #8B7321 #218B73
tetradic
#73218B #8B3E21 #398B21 #216E8B
square
#73218B #8B3E21 #398B21 #216E8B
split-complementary
#73218B #6E8B21 #218B3E
monochromatic
#210A28 #4A155A #73218B #9C2DBC #B851D6

Accessibility & contrast

On white

9.05
#73218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #73218B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73218B#FFFFFF#000000##FFFFFF
##73218B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #73218b;
/* rgb */ color: rgb(115, 33, 139);
/* oklch */ color: oklch(42.7% 0.173 317.3);
Tailwind
colors: {
  custom: {
    50: '#9f65ad',
    500: '#73218b',
    950: '#000000',
  },
}
SCSS
$custom: #73218b;
$custom-light: #9f65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#73218b",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 286.415,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.1731,
    "h": 317.3
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#73218B
secondary
#67B94F
accent
#E54368
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73218B

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

Preview Lab → · Contrast checker → · Palette generator →

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