#771A7D#771A7D

#771A7D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.170 H 325.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#771A7D
RGBrgb(119, 26, 125)
HSLhsl(296, 66%, 30%)
HSVhsv(296, 79%, 49%)
CMYKcmyk(4.8%, 79.2%, 0%, 51%)
CIE-LABlab(29.77, 51.29, -34.72)
CIE-LCHlch(29.77, 61.94, 325.91°)
OKLaboklab(41.71% 0.14 -0.0967)
OKLCHoklch(41.71% 0.17 325.4)
XYZxyz(11.6785, 6.1422, 19.9685)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A7D #207D1A
analogous
#461A7D #771A7D #7D1A51
triadic
#771A7D #7D771A #1A7D77
tetradic
#771A7D #7D461A #207D1A #1A517D
square
#771A7D #7D461A #207D1A #1A517D
split-complementary
#771A7D #517D1A #1A7D46
monochromatic
#180519 #470F4A #771A7D #A725B0 #CD3BD6

Accessibility & contrast

On white

9.42
#771A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#771A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A7D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A7D#FFFFFF#000000##FFFFFF
##771A7D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#7A2C4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771a7d;
/* rgb */ color: rgb(119, 26, 125);
/* oklch */ color: oklch(41.7% 0.170 325.4);
Tailwind
colors: {
  custom: {
    50: '#a263a3',
    500: '#771a7d',
    950: '#000000',
  },
}
SCSS
$custom: #771a7d;
$custom-light: #a263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#771a7d",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 296.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.17011,
    "h": 325.4
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#771A7D
secondary
#48B142
accent
#E93F4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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