#77178E#77178E

#77178E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.187 H 318.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#77178E
RGBrgb(119, 23, 142)
HSLhsl(288, 72%, 32%)
HSVhsv(288, 84%, 56%)
CMYKcmyk(16.2%, 83.8%, 0%, 44.3%)
CIE-LABlab(30.61, 55.34, -43.97)
CIE-LCHlch(30.61, 70.69, 321.53°)
OKLaboklab(42.67% 0.1403 -0.1238)
OKLCHoklch(42.67% 0.187 318.6)
XYZxyz(12.7960, 6.4884, 26.1643)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77178E #2E8E17
analogous
#3B178E #77178E #8E176A
triadic
#77178E #8E7717 #178E77
tetradic
#77178E #8E3B17 #2E8E17 #176A8E
square
#77178E #8E3B17 #2E8E17 #176A8E
split-complementary
#77178E #6A8E17 #178E3B
monochromatic
#1F0625 #4B0E59 #77178E #A320C3 #C13FE0

Accessibility & contrast

On white

9.14
#77178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#77178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77178E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77178E#FFFFFF#000000##FFFFFF
##77178E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#763354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77178e;
/* rgb */ color: rgb(119, 23, 142);
/* oklch */ color: oklch(42.7% 0.187 318.6);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#77178e',
    950: '#000000',
  },
}
SCSS
$custom: #77178e;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77178e",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 288.403,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.18709,
    "h": 318.6
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#77178E
secondary
#59C040
accent
#EF395C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #77178E

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

Preview Lab → · Contrast checker → · Palette generator →

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