#73318D#73318D

#73318D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.154 H 315.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#73318D
RGBrgb(115, 49, 141)
HSLhsl(283, 48%, 37%)
HSVhsv(283, 65%, 55%)
CMYKcmyk(18.4%, 65.2%, 0%, 44.7%)
CIE-LABlab(33.49, 44.14, -38.77)
CIE-LCHlch(33.49, 58.75, 318.71°)
OKLaboklab(44.57% 0.1091 -0.1088)
OKLCHoklch(44.57% 0.154 315.1)
XYZxyz(12.9755, 7.7650, 26.0094)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73318D #4B8D31
analogous
#45318D #73318D #8D3179
triadic
#73318D #8D7331 #318D73
tetradic
#73318D #8D4531 #4B8D31 #31798D
square
#73318D #8D4531 #4B8D31 #31798D
split-complementary
#73318D #798D31 #318D45
monochromatic
#291132 #4E2160 #73318D #9841BA #B16CCC

Accessibility & contrast

On white

8.23
#73318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#73318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73318D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73318D#FFFFFF#000000##FFFFFF
##73318D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#71425A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #73318d;
/* rgb */ color: rgb(115, 49, 141);
/* oklch */ color: oklch(44.6% 0.154 315.1);
Tailwind
colors: {
  custom: {
    50: '#9e6eaf',
    500: '#73318d',
    950: '#000000',
  },
}
SCSS
$custom: #73318d;
$custom-light: #9e6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#73318d",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 283.043,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.15412,
    "h": 315.1
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#73318D
secondary
#7CB466
accent
#D85076
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #73318D

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

Preview Lab → · Contrast checker → · Palette generator →

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