#771A9A#771A9A

#771A9A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.195 H 314.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#771A9A
RGBrgb(119, 26, 154)
HSLhsl(284, 71%, 35%)
HSVhsv(284, 83%, 60%)
CMYKcmyk(22.7%, 83.1%, 0%, 39.6%)
CIE-LABlab(31.79, 56.84, -49.43)
CIE-LCHlch(31.79, 75.33, 318.99°)
OKLaboklab(43.78% 0.1357 -0.1398)
OKLCHoklch(43.78% 0.195 314.1)
XYZxyz(13.8089, 6.9943, 31.1882)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A9A #3D9A1A
analogous
#371A9A #771A9A #9A1A7D
triadic
#771A9A #9A771A #1A9A77
tetradic
#771A9A #9A371A #3D9A1A #1A7D9A
square
#771A9A #9A371A #3D9A1A #1A7D9A
split-complementary
#771A9A #7D9A1A #1A9A37
monochromatic
#260831 #4F1166 #771A9A #9F23CE #B94DE1

Accessibility & contrast

On white

8.75
#771A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#771A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A9A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A9A#FFFFFF#000000##FFFFFF
##771A9A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#0A4D97
Tritanopia (blue-blind)
#743A5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771a9a;
/* rgb */ color: rgb(119, 26, 154);
/* oklch */ color: oklch(43.8% 0.195 314.1);
Tailwind
colors: {
  custom: {
    50: '#a364b9',
    500: '#771a9a',
    950: '#000000',
  },
}
SCSS
$custom: #771a9a;
$custom-light: #a364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771a9a",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 283.594,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.19485,
    "h": 314.1
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#771A9A
secondary
#6DC34D
accent
#EE3A6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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