#771C80#771C80

#771C80 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#771C80
RGBrgb(119, 28, 128)
HSLhsl(295, 64%, 31%)
HSVhsv(295, 78%, 50%)
CMYKcmyk(7%, 78.1%, 0%, 49.8%)
CIE-LABlab(30.19, 51.19, -35.94)
CIE-LCHlch(30.19, 62.55, 324.93°)
OKLaboklab(42.06% 0.138 -0.1003)
OKLCHoklch(42.06% 0.171 324)
XYZxyz(11.9189, 6.3117, 21.0084)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C80 #25801C
analogous
#451C80 #771C80 #801C57
triadic
#771C80 #80771C #1C8077
tetradic
#771C80 #80451C #25801C #1C5780
square
#771C80 #80451C #25801C #1C5780
split-complementary
#771C80 #57801C #1C8045
monochromatic
#1A061C #48114E #771C80 #A627B2 #C841D5

Accessibility & contrast

On white

9.28
#771C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C80
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C80#FFFFFF#000000##FFFFFF
##771C801.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#792F4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c80;
/* rgb */ color: rgb(119, 28, 128);
/* oklch */ color: oklch(42.1% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a263a5',
    500: '#771c80',
    950: '#000000',
  },
}
SCSS
$custom: #771c80;
$custom-light: #a263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771c80",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 294.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.17056,
    "h": 324
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#771C80
secondary
#4EB344
accent
#E74150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C80

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

Preview Lab → · Contrast checker → · Palette generator →

#771C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva