#77176B#77176B

#77176B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 333.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#77176B
RGBrgb(119, 23, 107)
HSLhsl(308, 68%, 28%)
HSVhsv(308, 81%, 47%)
CMYKcmyk(0%, 80.7%, 10.1%, 53.3%)
CIE-LABlab(28.37, 49.17, -25.47)
CIE-LCHlch(28.37, 55.37, 332.62°)
OKLaboklab(40.36% 0.1427 -0.0698)
OKLCHoklch(40.36% 0.159 333.9)
XYZxyz(10.5681, 5.5972, 14.4308)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77176B #177723
analogous
#531777 #77176B #77173B
triadic
#77176B #6B7717 #176B77
tetradic
#77176B #775317 #177723 #173B77
square
#77176B #775317 #177723 #173B77
split-complementary
#77176B #3B7717 #177753
monochromatic
#1A0517 #440D3D #77176B #AA2199 #D731C2

Accessibility & contrast

On white

9.91
#77176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#77176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77176B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77176B#FFFFFF#000000##FFFFFF
##77176B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#3A4869
Tritanopia (blue-blind)
#7D2140
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #77176b;
/* rgb */ color: rgb(119, 23, 107);
/* oklch */ color: oklch(40.4% 0.159 333.9);
Tailwind
colors: {
  custom: {
    50: '#a26195',
    500: '#77176b',
    950: '#000000',
  },
}
SCSS
$custom: #77176b;
$custom-light: #a26195;
$custom-dark: #000000;
JSON
{
  "hex": "#77176b",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 307.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40364,
    "c": 0.1589,
    "h": 333.9
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#77176B
secondary
#3EAC4B
accent
#EA533D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #77176B

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

Preview Lab → · Contrast checker → · Palette generator →

#77176B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva