#78278C#78278C

#78278C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.169 H 318.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#78278C
RGBrgb(120, 39, 140)
HSLhsl(288, 56%, 35%)
HSVhsv(288, 72%, 55%)
CMYKcmyk(14.3%, 72.1%, 0%, 45.1%)
CIE-LABlab(32.56, 49.63, -39.59)
CIE-LCHlch(32.56, 63.48, 321.42°)
OKLaboklab(44.04% 0.1274 -0.111)
OKLCHoklch(44.04% 0.169 318.9)
XYZxyz(13.2042, 7.3382, 25.5267)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78278C #3B8C27
analogous
#46278C #78278C #8C276D
triadic
#78278C #8C7827 #278C78
tetradic
#78278C #8C4627 #3B8C27 #276D8C
square
#78278C #8C4627 #3B8C27 #276D8C
split-complementary
#78278C #6D8C27 #278C46
monochromatic
#260C2C #4F1A5C #78278C #A134BC #BA5CD2

Accessibility & contrast

On white

8.51
#78278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#78278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78278C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78278C#FFFFFF#000000##FFFFFF
##78278C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#783A57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78278c;
/* rgb */ color: rgb(120, 39, 140);
/* oklch */ color: oklch(44.0% 0.169 318.9);
Tailwind
colors: {
  custom: {
    50: '#a269ae',
    500: '#78278c',
    950: '#000000',
  },
}
SCSS
$custom: #78278c;
$custom-light: #a269ae;
$custom-dark: #000000;
JSON
{
  "hex": "#78278c",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 288.119,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44041,
    "c": 0.16893,
    "h": 318.9
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#78278C
secondary
#6BB758
accent
#E04866
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78278C

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

Preview Lab → · Contrast checker → · Palette generator →

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