#771A9F#771A9F

#771A9F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.199 H 312.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#771A9F
RGBrgb(119, 26, 159)
HSLhsl(282, 72%, 36%)
HSVhsv(282, 84%, 62%)
CMYKcmyk(25.2%, 83.6%, 0%, 37.6%)
CIE-LABlab(32.18, 57.86, -51.85)
CIE-LCHlch(32.18, 77.69, 318.13°)
OKLaboklab(44.17% 0.1345 -0.1469)
OKLCHoklch(44.17% 0.199 312.5)
XYZxyz(14.2340, 7.1644, 33.4272)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A9F #429F1A
analogous
#351A9F #771A9F #9F1A85
triadic
#771A9F #9F771A #1A9F77
tetradic
#771A9F #9F351A #429F1A #1A859F
square
#771A9F #9F351A #429F1A #1A859F
split-complementary
#771A9F #859F1A #1A9F35
monochromatic
#280936 #50116A #771A9F #9E23D4 #B751E3

Accessibility & contrast

On white

8.63
#771A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A9F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A9F#FFFFFF#000000##FFFFFF
##771A9F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#723D5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771a9f;
/* rgb */ color: rgb(119, 26, 159);
/* oklch */ color: oklch(44.2% 0.199 312.5);
Tailwind
colors: {
  custom: {
    50: '#a364bc',
    500: '#771a9f',
    950: '#000000',
  },
}
SCSS
$custom: #771a9f;
$custom-light: #a364bc;
$custom-dark: #000000;
JSON
{
  "hex": "#771a9f",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 281.955,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44165,
    "c": 0.19922,
    "h": 312.5
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#771A9F
secondary
#73C550
accent
#EF3970
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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