#78216A#78216A

#78216A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.147 H 335.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#78216A
RGBrgb(120, 33, 106)
HSLhsl(310, 57%, 30%)
HSVhsv(310, 73%, 47%)
CMYKcmyk(0%, 72.5%, 11.7%, 52.9%)
CIE-LABlab(29.72, 45.79, -22.70)
CIE-LCHlch(29.72, 51.11, 333.64°)
OKLaboklab(41.35% 0.1335 -0.0619)
OKLCHoklch(41.35% 0.147 335.1)
XYZxyz(10.8912, 6.1223, 14.2410)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78216A #21782F
analogous
#5A2178 #78216A #78213F
triadic
#78216A #6A7821 #216A78
tetradic
#78216A #785A21 #21782F #213F78
square
#78216A #785A21 #21782F #213F78
split-complementary
#78216A #3F7821 #21785A
monochromatic
#180715 #481440 #78216A #A82E94 #CC47B7

Accessibility & contrast

On white

9.44
#78216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#78216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78216A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78216A#FFFFFF#000000##FFFFFF
##78216A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#7E2742
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78216a;
/* rgb */ color: rgb(120, 33, 106);
/* oklch */ color: oklch(41.4% 0.147 335.1);
Tailwind
colors: {
  custom: {
    50: '#a26595',
    500: '#78216a',
    950: '#000000',
  },
}
SCSS
$custom: #78216a;
$custom-light: #a26595;
$custom-dark: #000000;
JSON
{
  "hex": "#78216a",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 309.655,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.14718,
    "h": 335.1
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#78216A
secondary
#4AAB59
accent
#E06048
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78216A

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

Preview Lab → · Contrast checker → · Palette generator →

#78216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva