#77278E#77278E

#77278E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.170 H 317.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#77278E
RGBrgb(119, 39, 142)
HSLhsl(287, 57%, 35%)
HSVhsv(287, 73%, 56%)
CMYKcmyk(16.2%, 72.5%, 0%, 44.3%)
CIE-LABlab(32.54, 49.81, -40.87)
CIE-LCHlch(32.54, 64.43, 320.63°)
OKLaboklab(44.03% 0.1259 -0.1148)
OKLCHoklch(44.03% 0.17 317.6)
XYZxyz(13.2151, 7.3265, 26.3040)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77278E #3E8E27
analogous
#43278E #77278E #8E2771
triadic
#77278E #8E7727 #278E77
tetradic
#77278E #8E4327 #3E8E27 #27718E
square
#77278E #8E4327 #3E8E27 #27718E
split-complementary
#77278E #718E27 #278E43
monochromatic
#270D2E #4F1A5E #77278E #9F34BE #B85DD2

Accessibility & contrast

On white

8.52
#77278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#77278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77278E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77278E#FFFFFF#000000##FFFFFF
##77278E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#763B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #77278e;
/* rgb */ color: rgb(119, 39, 142);
/* oklch */ color: oklch(44.0% 0.170 317.6);
Tailwind
colors: {
  custom: {
    50: '#a269b0',
    500: '#77278e',
    950: '#000000',
  },
}
SCSS
$custom: #77278e;
$custom-light: #a269b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77278e",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 286.602,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44033,
    "c": 0.17039,
    "h": 317.6
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#77278E
secondary
#6EB859
accent
#E0486A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #77278E

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

Preview Lab → · Contrast checker → · Palette generator →

#77278E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva