#78277C#78277C

#78277C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 325.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#78277C
RGBrgb(120, 39, 124)
HSLhsl(297, 52%, 32%)
HSVhsv(297, 69%, 49%)
CMYKcmyk(3.2%, 68.5%, 0%, 51.4%)
CIE-LABlab(31.58, 46.51, -31.20)
CIE-LCHlch(31.58, 56.01, 326.15°)
OKLaboklab(43.02% 0.1277 -0.0865)
OKLCHoklch(43.02% 0.154 325.9)
XYZxyz(12.1091, 6.9001, 19.7589)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78277C #2B7C27
analogous
#4D277C #78277C #7C2756
triadic
#78277C #7C7827 #277C78
tetradic
#78277C #7C4D27 #2B7C27 #27567C
square
#78277C #7C4D27 #2B7C27 #27567C
split-complementary
#78277C #567C27 #277C4D
monochromatic
#1E0A1F #4B184D #78277C #A536AB #C454C9

Accessibility & contrast

On white

8.82
#78277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#78277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78277C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78277C#FFFFFF#000000##FFFFFF
##78277C1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#7B344E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78277c;
/* rgb */ color: rgb(120, 39, 124);
/* oklch */ color: oklch(43.0% 0.154 325.9);
Tailwind
colors: {
  custom: {
    50: '#a268a2',
    500: '#78277c',
    950: '#000000',
  },
}
SCSS
$custom: #78277c;
$custom-light: #a268a2;
$custom-dark: #000000;
JSON
{
  "hex": "#78277c",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 297.176,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.15426,
    "h": 325.9
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#78277C
secondary
#55AE51
accent
#DC4C53
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78277C

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

Preview Lab → · Contrast checker → · Palette generator →

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