#78277F#78277F

#78277F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.157 H 324.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#78277F
RGBrgb(120, 39, 127)
HSLhsl(295, 53%, 33%)
HSVhsv(295, 69%, 50%)
CMYKcmyk(5.5%, 69.3%, 0%, 50.2%)
CIE-LABlab(31.75, 47.08, -32.80)
CIE-LCHlch(31.75, 57.38, 325.13°)
OKLaboklab(43.2% 0.1278 -0.0912)
OKLCHoklch(43.2% 0.157 324.5)
XYZxyz(12.3017, 6.9772, 20.7733)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78277F #2E7F27
analogous
#4C277F #78277F #7F275A
triadic
#78277F #7F7827 #277F78
tetradic
#78277F #7F4C27 #2E7F27 #275A7F
square
#78277F #7F4C27 #2E7F27 #275A7F
split-complementary
#78277F #5A7F27 #277F4C
monochromatic
#200A21 #4C1950 #78277F #A435AE #C255CB

Accessibility & contrast

On white

8.77
#78277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#78277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78277F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78277F#FFFFFF#000000##FFFFFF
##78277F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134482
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#7A3550
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78277f;
/* rgb */ color: rgb(120, 39, 127);
/* oklch */ color: oklch(43.2% 0.157 324.5);
Tailwind
colors: {
  custom: {
    50: '#a268a4',
    500: '#78277f',
    950: '#000000',
  },
}
SCSS
$custom: #78277f;
$custom-light: #a268a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78277f",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 295.227,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.15696,
    "h": 324.5
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#78277F
secondary
#5AB052
accent
#DC4B57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78277F

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

Preview Lab → · Contrast checker → · Palette generator →

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