#78276C#78276C

#78276C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.141 H 334.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#78276C
RGBrgb(120, 39, 108)
HSLhsl(309, 51%, 31%)
HSVhsv(309, 68%, 47%)
CMYKcmyk(0%, 67.5%, 10%, 52.9%)
CIE-LABlab(30.71, 43.65, -22.43)
CIE-LCHlch(30.71, 49.08, 332.80°)
OKLaboklab(42.1% 0.1265 -0.0612)
OKLCHoklch(42.1% 0.141 334.2)
XYZxyz(11.1781, 6.5277, 14.8557)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78276C #277833
analogous
#5B2778 #78276C #782743
triadic
#78276C #6C7827 #276C78
tetradic
#78276C #785B27 #277833 #274378
square
#78276C #785B27 #277833 #274378
split-complementary
#78276C #437827 #27785B
monochromatic
#1C0919 #4A1842 #78276C #A63696 #C752B6

Accessibility & contrast

On white

9.11
#78276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78276C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78276C#FFFFFF#000000##FFFFFF
##78276C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#414D6A
Tritanopia (blue-blind)
#7E2D46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78276c;
/* rgb */ color: rgb(120, 39, 108);
/* oklch */ color: oklch(42.1% 0.141 334.2);
Tailwind
colors: {
  custom: {
    50: '#a26896',
    500: '#78276c',
    950: '#000000',
  },
}
SCSS
$custom: #78276c;
$custom-light: #a26896;
$custom-dark: #000000;
JSON
{
  "hex": "#78276c",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 308.889,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.14052,
    "h": 334.2
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#78276C
secondary
#51AA5E
accent
#DA624D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78276C

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

Preview Lab → · Contrast checker → · Palette generator →

#78276C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva