#73178E#73178E

#73178E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.186 H 316.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#73178E
RGBrgb(115, 23, 142)
HSLhsl(286, 72%, 32%)
HSVhsv(286, 84%, 56%)
CMYKcmyk(19%, 83.8%, 0%, 44.3%)
CIE-LABlab(29.94, 54.61, -45.10)
CIE-LCHlch(29.94, 70.82, 320.45°)
OKLaboklab(42.06% 0.1352 -0.1272)
OKLCHoklch(42.06% 0.186 316.7)
XYZxyz(12.2584, 6.2112, 26.1391)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73178E #328E17
analogous
#38178E #73178E #8E176D
triadic
#73178E #8E7317 #178E73
tetradic
#73178E #8E3817 #328E17 #176D8E
square
#73178E #8E3817 #328E17 #176D8E
split-complementary
#73178E #6D8E17 #178E38
monochromatic
#1E0625 #480E59 #73178E #9E20C3 #BC3FE0

Accessibility & contrast

On white

9.37
#73178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#73178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73178E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73178E#FFFFFF#000000##FFFFFF
##73178E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#713454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #73178e;
/* rgb */ color: rgb(115, 23, 142);
/* oklch */ color: oklch(42.1% 0.186 316.7);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#73178e',
    950: '#000000',
  },
}
SCSS
$custom: #73178e;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#73178e",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 286.387,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.18564,
    "h": 316.7
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#73178E
secondary
#5DC040
accent
#EF3962
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73178E

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

Preview Lab → · Contrast checker → · Palette generator →

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