#771C7E#771C7E

#771C7E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.169 H 324.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#771C7E
RGBrgb(119, 28, 126)
HSLhsl(296, 64%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(5.6%, 77.8%, 0%, 50.6%)
CIE-LABlab(30.06, 50.82, -34.89)
CIE-LCHlch(30.06, 61.65, 325.53°)
OKLaboklab(41.93% 0.1381 -0.0972)
OKLCHoklch(41.93% 0.169 324.9)
XYZxyz(11.7886, 6.2596, 20.3219)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7E #237E1C
analogous
#461C7E #771C7E #7E1C54
triadic
#771C7E #7E771C #1C7E77
tetradic
#771C7E #7E461C #237E1C #1C547E
square
#771C7E #7E461C #237E1C #1C547E
split-complementary
#771C7E #547E1C #1C7E46
monochromatic
#18061A #48114C #771C7E #A627B0 #CA40D5

Accessibility & contrast

On white

9.33
#771C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C7E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7E#FFFFFF#000000##FFFFFF
##771C7E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#314A7C
Tritanopia (blue-blind)
#7A2E4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c7e;
/* rgb */ color: rgb(119, 28, 126);
/* oklch */ color: oklch(41.9% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#a263a4',
    500: '#771c7e',
    950: '#000000',
  },
}
SCSS
$custom: #771c7e;
$custom-light: #a263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7e",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 295.714,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.16887,
    "h": 324.9
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#771C7E
secondary
#4CB244
accent
#E7414D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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