#77277C#77277C

#77277C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 325.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#77277C
RGBrgb(119, 39, 124)
HSLhsl(296, 52%, 32%)
HSVhsv(296, 69%, 49%)
CMYKcmyk(4%, 68.5%, 0%, 51.4%)
CIE-LABlab(31.41, 46.26, -31.47)
CIE-LCHlch(31.41, 55.95, 325.77°)
OKLaboklab(42.86% 0.1265 -0.0873)
OKLCHoklch(42.86% 0.154 325.4)
XYZxyz(11.9711, 6.8290, 19.7525)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77277C #2C7C27
analogous
#4D277C #77277C #7C2756
triadic
#77277C #7C7727 #277C77
tetradic
#77277C #7C4D27 #2C7C27 #27567C
square
#77277C #7C4D27 #2C7C27 #27567C
split-complementary
#77277C #567C27 #277C4D
monochromatic
#1E0A1F #4A184D #77277C #A436AB #C254C9

Accessibility & contrast

On white

8.88
#77277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#77277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77277C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77277C#FFFFFF#000000##FFFFFF
##77277C1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447E
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#7A344E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77277c;
/* rgb */ color: rgb(119, 39, 124);
/* oklch */ color: oklch(42.9% 0.154 325.4);
Tailwind
colors: {
  custom: {
    50: '#a168a2',
    500: '#77277c',
    950: '#000000',
  },
}
SCSS
$custom: #77277c;
$custom-light: #a168a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77277c",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 296.471,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.15373,
    "h": 325.4
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#77277C
secondary
#56AE51
accent
#DC4C55
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #77277C

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

Preview Lab → · Contrast checker → · Palette generator →

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