#73217F#73217F

#73217F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.162 H 322.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#73217F
RGBrgb(115, 33, 127)
HSLhsl(292, 59%, 31%)
HSVhsv(292, 74%, 50%)
CMYKcmyk(9.4%, 74%, 0%, 50.2%)
CIE-LABlab(30.07, 48.31, -35.53)
CIE-LCHlch(30.07, 59.97, 323.67°)
OKLaboklab(41.83% 0.1283 -0.0992)
OKLCHoklch(41.83% 0.162 322.3)
XYZxyz(11.4445, 6.2655, 20.6811)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73217F #2D7F21
analogous
#44217F #73217F #7F215C
triadic
#73217F #7F7321 #217F73
tetradic
#73217F #7F4421 #2D7F21 #215C7F
square
#73217F #7F4421 #2D7F21 #215C7F
split-complementary
#73217F #5C7F21 #217F44
monochromatic
#1B081E #47144E #73217F #9F2EB0 #BF4AD0

Accessibility & contrast

On white

9.32
#73217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #73217F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73217F#FFFFFF#000000##FFFFFF
##73217F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#74324E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #73217f;
/* rgb */ color: rgb(115, 33, 127);
/* oklch */ color: oklch(41.8% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#73217f',
    950: '#000000',
  },
}
SCSS
$custom: #73217f;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#73217f",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 292.34,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.16218,
    "h": 322.3
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#73217F
secondary
#57B24A
accent
#E2465A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #73217F

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

Preview Lab → · Contrast checker → · Palette generator →

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