#77178D#77178D

#77178D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 319.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#77178D
RGBrgb(119, 23, 141)
HSLhsl(289, 72%, 32%)
HSVhsv(289, 84%, 55%)
CMYKcmyk(15.6%, 83.7%, 0%, 44.7%)
CIE-LABlab(30.54, 55.15, -43.47)
CIE-LCHlch(30.54, 70.22, 321.76°)
OKLaboklab(42.6% 0.1405 -0.1223)
OKLCHoklch(42.6% 0.186 319)
XYZxyz(12.7212, 6.4585, 25.7707)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77178D #2D8D17
analogous
#3C178D #77178D #8D1768
triadic
#77178D #8D7717 #178D77
tetradic
#77178D #8D3C17 #2D8D17 #17688D
square
#77178D #8D3C17 #2D8D17 #17688D
split-complementary
#77178D #688D17 #178D3C
monochromatic
#1E0624 #4B0E58 #77178D #A320C2 #C23FE0

Accessibility & contrast

On white

9.16
#77178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#77178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77178D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77178D#FFFFFF#000000##FFFFFF
##77178D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#773354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77178d;
/* rgb */ color: rgb(119, 23, 141);
/* oklch */ color: oklch(42.6% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#a262af',
    500: '#77178d',
    950: '#000000',
  },
}
SCSS
$custom: #77178d;
$custom-light: #a262af;
$custom-dark: #000000;
JSON
{
  "hex": "#77178d",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 288.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.18624,
    "h": 319
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#77178D
secondary
#58C040
accent
#EF395B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #77178D

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

Preview Lab → · Contrast checker → · Palette generator →

#77178D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva