#77177A#77177A

#77177A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 326.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#77177A
RGBrgb(119, 23, 122)
HSLhsl(298, 68%, 28%)
HSVhsv(298, 81%, 48%)
CMYKcmyk(2.5%, 81.1%, 0%, 52.2%)
CIE-LABlab(29.26, 51.68, -33.63)
CIE-LCHlch(29.26, 61.66, 326.94°)
OKLaboklab(41.29% 0.1427 -0.0935)
OKLCHoklch(41.29% 0.171 326.8)
XYZxyz(11.4268, 5.9407, 18.9534)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77177A #1A7A17
analogous
#45177A #77177A #7A174B
triadic
#77177A #7A7717 #177A77
tetradic
#77177A #7A4517 #1A7A17 #174B7A
square
#77177A #7A4517 #1A7A17 #174B7A
split-complementary
#77177A #4B7A17 #177A45
monochromatic
#19051A #450D47 #77177A #A921AD #D333D9

Accessibility & contrast

On white

9.60
#77177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#77177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77177A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77177A#FFFFFF#000000##FFFFFF
##77177A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#7A2949
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #77177a;
/* rgb */ color: rgb(119, 23, 122);
/* oklch */ color: oklch(41.3% 0.171 326.8);
Tailwind
colors: {
  custom: {
    50: '#a261a1',
    500: '#77177a',
    950: '#000000',
  },
}
SCSS
$custom: #77177a;
$custom-light: #a261a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77177a",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 298.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.17059,
    "h": 326.8
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#77177A
secondary
#41AF3E
accent
#EB3D42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #77177A

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

Preview Lab → · Contrast checker → · Palette generator →

#77177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva