#77177B#77177B

#77177B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 326.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#77177B
RGBrgb(119, 23, 123)
HSLhsl(298, 68%, 29%)
HSVhsv(298, 81%, 48%)
CMYKcmyk(3.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(29.33, 51.85, -34.16)
CIE-LCHlch(29.33, 62.10, 326.62°)
OKLaboklab(41.35% 0.1426 -0.0951)
OKLCHoklch(41.35% 0.171 326.3)
XYZxyz(11.4891, 5.9656, 19.2814)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77177B #1B7B17
analogous
#45177B #77177B #7B174D
triadic
#77177B #7B7717 #177B77
tetradic
#77177B #7B4517 #1B7B17 #174D7B
square
#77177B #7B4517 #1B7B17 #174D7B
split-complementary
#77177B #4D7B17 #177B45
monochromatic
#19051A #450D47 #77177B #A921AF #D233D9

Accessibility & contrast

On white

9.58
#77177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77177B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77177B#FFFFFF#000000##FFFFFF
##77177B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#7A2A49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #77177b;
/* rgb */ color: rgb(119, 23, 123);
/* oklch */ color: oklch(41.4% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#a261a2',
    500: '#77177b',
    950: '#000000',
  },
}
SCSS
$custom: #77177b;
$custom-light: #a261a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77177b",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 297.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.17139,
    "h": 326.3
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#77177B
secondary
#42B03E
accent
#EB3C43
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77177B

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

Preview Lab → · Contrast checker → · Palette generator →

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