#73168D#73168D

#73168D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.186 H 317.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#73168D
RGBrgb(115, 22, 141)
HSLhsl(287, 73%, 32%)
HSVhsv(287, 84%, 55%)
CMYKcmyk(18.4%, 84.4%, 0%, 44.7%)
CIE-LABlab(29.77, 54.69, -44.75)
CIE-LCHlch(29.77, 70.67, 320.71°)
OKLaboklab(41.92% 0.1361 -0.1262)
OKLCHoklch(41.92% 0.186 317.2)
XYZxyz(12.1641, 6.1423, 25.7390)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73168D #308D16
analogous
#38168D #73168D #8D166C
triadic
#73168D #8D7316 #168D73
tetradic
#73168D #8D3816 #308D16 #166C8D
square
#73168D #8D3816 #308D16 #166C8D
split-complementary
#73168D #6C8D16 #168D38
monochromatic
#1D0523 #480E58 #73168D #9E1EC2 #BD3DE1

Accessibility & contrast

On white

9.42
#73168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#73168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73168D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73168D#FFFFFF#000000##FFFFFF
##73168D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#723353
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #73168d;
/* rgb */ color: rgb(115, 22, 141);
/* oklch */ color: oklch(41.9% 0.186 317.2);
Tailwind
colors: {
  custom: {
    50: '#9f61af',
    500: '#73168d',
    950: '#000000',
  },
}
SCSS
$custom: #73168d;
$custom-light: #9f61af;
$custom-dark: #000000;
JSON
{
  "hex": "#73168d",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 286.891,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.18561,
    "h": 317.2
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#73168D
secondary
#5BC13E
accent
#F03860
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73168D

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

Preview Lab → · Contrast checker → · Palette generator →

#73168D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva