#73217E#73217E

#73217E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.161 H 322.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#73217E
RGBrgb(115, 33, 126)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 74%, 49%)
CMYKcmyk(8.7%, 73.8%, 0%, 50.6%)
CIE-LABlab(30.01, 48.12, -35.00)
CIE-LCHlch(30.01, 59.50, 323.97°)
OKLaboklab(41.76% 0.1283 -0.0977)
OKLCHoklch(41.76% 0.161 322.7)
XYZxyz(11.3796, 6.2396, 20.3396)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73217E #2C7E21
analogous
#44217E #73217E #7E215A
triadic
#73217E #7E7321 #217E73
tetradic
#73217E #7E4421 #2C7E21 #215A7E
square
#73217E #7E4421 #2C7E21 #215A7E
split-complementary
#73217E #5A7E21 #217E44
monochromatic
#1A081D #47144E #73217E #9F2EAE #C04AD0

Accessibility & contrast

On white

9.34
#73217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#73217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73217E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73217E#FFFFFF#000000##FFFFFF
##73217E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#75324D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #73217e;
/* rgb */ color: rgb(115, 33, 126);
/* oklch */ color: oklch(41.8% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#73217e',
    950: '#000000',
  },
}
SCSS
$custom: #73217e;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#73217e",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 292.903,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.16129,
    "h": 322.7
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#73217E
secondary
#56B14A
accent
#E24659
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #73217E

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

Preview Lab → · Contrast checker → · Palette generator →

#73217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva