#78216D#78216D

#78216D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 333.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#78216D
RGBrgb(120, 33, 109)
HSLhsl(308, 57%, 30%)
HSVhsv(308, 73%, 47%)
CMYKcmyk(0%, 72.5%, 9.2%, 52.9%)
CIE-LABlab(29.88, 46.29, -24.37)
CIE-LCHlch(29.88, 52.31, 332.23°)
OKLaboklab(41.52% 0.1338 -0.0667)
OKLCHoklch(41.52% 0.15 333.5)
XYZxyz(11.0500, 6.1858, 15.0770)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78216D #21782C
analogous
#572178 #78216D #782142
triadic
#78216D #6D7821 #216D78
tetradic
#78216D #785721 #21782C #214278
square
#78216D #785721 #21782C #214278
split-complementary
#78216D #427821 #217857
monochromatic
#180716 #481441 #78216D #A82E99 #CC47BC

Accessibility & contrast

On white

9.39
#78216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#78216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78216D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78216D#FFFFFF#000000##FFFFFF
##78216D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#3D4B6B
Tritanopia (blue-blind)
#7E2944
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78216d;
/* rgb */ color: rgb(120, 33, 109);
/* oklch */ color: oklch(41.5% 0.150 333.5);
Tailwind
colors: {
  custom: {
    50: '#a26597',
    500: '#78216d',
    950: '#000000',
  },
}
SCSS
$custom: #78216d;
$custom-light: #a26597;
$custom-dark: #000000;
JSON
{
  "hex": "#78216d",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 307.586,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41516,
    "c": 0.14954,
    "h": 333.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#78216D
secondary
#4AAB56
accent
#E05B48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78216D

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

Preview Lab → · Contrast checker → · Palette generator →

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