#77166B#77166B

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

Color values

HEX#77166B
RGBrgb(119, 22, 107)
HSLhsl(307, 69%, 28%)
HSVhsv(307, 82%, 47%)
CMYKcmyk(0%, 81.5%, 10.1%, 53.3%)
CIE-LABlab(28.27, 49.47, -25.63)
CIE-LCHlch(28.27, 55.71, 332.61°)
OKLaboklab(40.29% 0.1436 -0.0703)
OKLCHoklch(40.29% 0.16 333.9)
XYZxyz(10.5486, 5.5582, 14.4244)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77166B #167722
analogous
#531677 #77166B #77163A
triadic
#77166B #6B7716 #166B77
tetradic
#77166B #775316 #167722 #163A77
square
#77166B #775316 #167722 #163A77
split-complementary
#77166B #3A7716 #167753
monochromatic
#1A0517 #430C3D #77166B #AB2099 #D92FC4

Accessibility & contrast

On white

9.95
#77166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#77166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77166B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77166B#FFFFFF#000000##FFFFFF
##77166B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6D
Deuteranopia (green-blind)
#394869
Tritanopia (blue-blind)
#7D2040
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #77166b;
/* rgb */ color: rgb(119, 22, 107);
/* oklch */ color: oklch(40.3% 0.160 333.9);
Tailwind
colors: {
  custom: {
    50: '#a26095',
    500: '#77166b',
    950: '#000000',
  },
}
SCSS
$custom: #77166b;
$custom-light: #a26095;
$custom-dark: #000000;
JSON
{
  "hex": "#77166b",
  "rgb": {
    "r": 119,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 307.423,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4029,
    "c": 0.15989,
    "h": 333.9
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#77166B
secondary
#3CAC4A
accent
#EC523C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #77166B

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

Preview Lab → · Contrast checker → · Palette generator →

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