#77277D#77277D

#77277D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.155 H 324.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#77277D
RGBrgb(119, 39, 125)
HSLhsl(296, 52%, 32%)
HSVhsv(296, 69%, 49%)
CMYKcmyk(4.8%, 68.8%, 0%, 51%)
CIE-LABlab(31.47, 46.45, -32.00)
CIE-LCHlch(31.47, 56.41, 325.43°)
OKLaboklab(42.93% 0.1265 -0.0889)
OKLCHoklch(42.93% 0.155 324.9)
XYZxyz(12.0346, 6.8544, 20.0872)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77277D #2D7D27
analogous
#4C277D #77277D #7D2758
triadic
#77277D #7D7727 #277D77
tetradic
#77277D #7D4C27 #2D7D27 #27587D
square
#77277D #7D4C27 #2D7D27 #27587D
split-complementary
#77277D #587D27 #277D4C
monochromatic
#1E0A20 #4B184E #77277D #A336AC #C255CA

Accessibility & contrast

On white

8.86
#77277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77277D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77277D#FFFFFF#000000##FFFFFF
##77277D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#7A344F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77277d;
/* rgb */ color: rgb(119, 39, 125);
/* oklch */ color: oklch(42.9% 0.155 324.9);
Tailwind
colors: {
  custom: {
    50: '#a168a3',
    500: '#77277d',
    950: '#000000',
  },
}
SCSS
$custom: #77277d;
$custom-light: #a168a3;
$custom-dark: #000000;
JSON
{
  "hex": "#77277d",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 295.814,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.15464,
    "h": 324.9
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#77277D
secondary
#58AF51
accent
#DC4C56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #77277D

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

Preview Lab → · Contrast checker → · Palette generator →

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