#77176F#77176F

#77176F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.162 H 331.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#77176F
RGBrgb(119, 23, 111)
HSLhsl(305, 68%, 28%)
HSVhsv(305, 81%, 47%)
CMYKcmyk(0%, 80.7%, 6.7%, 53.3%)
CIE-LABlab(28.60, 49.82, -27.68)
CIE-LCHlch(28.60, 56.99, 330.94°)
OKLaboklab(40.6% 0.1429 -0.0762)
OKLCHoklch(40.6% 0.162 331.9)
XYZxyz(10.7834, 5.6833, 15.5649)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77176F #17771F
analogous
#4F1777 #77176F #77173F
triadic
#77176F #6F7717 #176F77
tetradic
#77176F #774F17 #17771F #173F77
square
#77176F #774F17 #17771F #173F77
split-complementary
#77176F #3F7717 #17774F
monochromatic
#1A0518 #440D3F #77176F #AA219F #D731C9

Accessibility & contrast

On white

9.83
#77176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#77176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77176F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77176F#FFFFFF#000000##FFFFFF
##77176F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#7C2342
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #77176f;
/* rgb */ color: rgb(119, 23, 111);
/* oklch */ color: oklch(40.6% 0.162 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26198',
    500: '#77176f',
    950: '#000000',
  },
}
SCSS
$custom: #77176f;
$custom-light: #a26198;
$custom-dark: #000000;
JSON
{
  "hex": "#77176f",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 305,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.16193,
    "h": 331.9
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#77176F
secondary
#3EAC47
accent
#EA4C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #77176F

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

Preview Lab → · Contrast checker → · Palette generator →

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