#771A99#771A99

#771A99 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.194 H 314.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#771A99
RGBrgb(119, 26, 153)
HSLhsl(284, 71%, 35%)
HSVhsv(284, 83%, 60%)
CMYKcmyk(22.2%, 83%, 0%, 40%)
CIE-LABlab(31.72, 56.64, -48.95)
CIE-LCHlch(31.72, 74.86, 319.17°)
OKLaboklab(43.7% 0.1359 -0.1384)
OKLCHoklch(43.7% 0.194 314.5)
XYZxyz(13.7259, 6.9611, 30.7514)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A99 #3C991A
analogous
#371A99 #771A99 #991A7C
triadic
#771A99 #99771A #1A9977
tetradic
#771A99 #99371A #3C991A #1A7C99
square
#771A99 #99371A #3C991A #1A7C99
split-complementary
#771A99 #7C991A #1A9937
monochromatic
#260830 #4E1165 #771A99 #A023CD #B94DE1

Accessibility & contrast

On white

8.78
#771A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#771A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A99
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A99#FFFFFF#000000##FFFFFF
##771A991.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#0D4D96
Tritanopia (blue-blind)
#743A5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771a99;
/* rgb */ color: rgb(119, 26, 153);
/* oklch */ color: oklch(43.7% 0.194 314.5);
Tailwind
colors: {
  custom: {
    50: '#a364b8',
    500: '#771a99',
    950: '#000000',
  },
}
SCSS
$custom: #771a99;
$custom-light: #a364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#771a99",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 283.937,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.437,
    "c": 0.19398,
    "h": 314.5
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#771A99
secondary
#6CC34C
accent
#EE3A6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A99

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

Preview Lab → · Contrast checker → · Palette generator →

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