#771C99#771C99

#771C99 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.192 H 314.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#771C99
RGBrgb(119, 28, 153)
HSLhsl(284, 69%, 35%)
HSVhsv(284, 82%, 60%)
CMYKcmyk(22.2%, 81.7%, 0%, 40%)
CIE-LABlab(31.93, 56.03, -48.61)
CIE-LCHlch(31.93, 74.18, 319.06°)
OKLaboklab(43.85% 0.1344 -0.1374)
OKLCHoklch(43.85% 0.192 314.4)
XYZxyz(13.7718, 7.0528, 30.7667)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C99 #3E991C
analogous
#381C99 #771C99 #991C7C
triadic
#771C99 #99771C #1C9977
tetradic
#771C99 #99381C #3E991C #1C7C99
square
#771C99 #99381C #3E991C #1C7C99
split-complementary
#771C99 #7C991C #1C9938
monochromatic
#270932 #4F1365 #771C99 #9F25CD #B850DF

Accessibility & contrast

On white

8.71
#771C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C99
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C99#FFFFFF#000000##FFFFFF
##771C991.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#743B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771c99;
/* rgb */ color: rgb(119, 28, 153);
/* oklch */ color: oklch(43.8% 0.192 314.4);
Tailwind
colors: {
  custom: {
    50: '#a365b8',
    500: '#771c99',
    950: '#000000',
  },
}
SCSS
$custom: #771c99;
$custom-light: #a365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#771c99",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 283.68,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.19223,
    "h": 314.4
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#771C99
secondary
#6EC24F
accent
#EC3C6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C99

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

Preview Lab → · Contrast checker → · Palette generator →

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