#77176C#77176C

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

Color values

HEX#77176C
RGBrgb(119, 23, 108)
HSLhsl(307, 68%, 28%)
HSVhsv(307, 81%, 47%)
CMYKcmyk(0%, 80.7%, 9.2%, 53.3%)
CIE-LABlab(28.43, 49.33, -26.02)
CIE-LCHlch(28.43, 55.77, 332.19°)
OKLaboklab(40.42% 0.1428 -0.0714)
OKLCHoklch(40.42% 0.16 333.4)
XYZxyz(10.6210, 5.6184, 14.7095)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77176C #177722
analogous
#521777 #77176C #77173C
triadic
#77176C #6C7717 #176C77
tetradic
#77176C #775217 #177722 #173C77
square
#77176C #775217 #177722 #173C77
split-complementary
#77176C #3C7717 #177752
monochromatic
#1A0517 #440D3D #77176C #AA219B #D731C4

Accessibility & contrast

On white

9.89
#77176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77176C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77176C#FFFFFF#000000##FFFFFF
##77176C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#39486A
Tritanopia (blue-blind)
#7D2241
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #77176c;
/* rgb */ color: rgb(119, 23, 108);
/* oklch */ color: oklch(40.4% 0.160 333.4);
Tailwind
colors: {
  custom: {
    50: '#a26196',
    500: '#77176c',
    950: '#000000',
  },
}
SCSS
$custom: #77176c;
$custom-light: #a26196;
$custom-dark: #000000;
JSON
{
  "hex": "#77176c",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 306.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.15966,
    "h": 333.4
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#77176C
secondary
#3EAC4A
accent
#EA513D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #77176C

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

Preview Lab → · Contrast checker → · Palette generator →

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