#771A7B#771A7B

#771A7B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 326.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#771A7B
RGBrgb(119, 26, 123)
HSLhsl(298, 65%, 29%)
HSVhsv(298, 79%, 48%)
CMYKcmyk(3.3%, 78.9%, 0%, 51.8%)
CIE-LABlab(29.64, 50.94, -33.66)
CIE-LCHlch(29.64, 61.05, 326.54°)
OKLaboklab(41.58% 0.1401 -0.0936)
OKLCHoklch(41.58% 0.168 326.2)
XYZxyz(11.5521, 6.0916, 19.3024)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A7B #1E7B1A
analogous
#471A7B #771A7B #7B1A4F
triadic
#771A7B #7B771A #1A7B77
tetradic
#771A7B #7B471A #1E7B1A #1A4F7B
square
#771A7B #7B471A #1E7B1A #1A4F7B
split-complementary
#771A7B #4F7B1A #1A7B47
monochromatic
#180519 #460F48 #771A7B #A825AE #CF3AD5

Accessibility & contrast

On white

9.47
#771A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A7B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A7B#FFFFFF#000000##FFFFFF
##771A7B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#7A2B4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771a7b;
/* rgb */ color: rgb(119, 26, 123);
/* oklch */ color: oklch(41.6% 0.168 326.2);
Tailwind
colors: {
  custom: {
    50: '#a262a2',
    500: '#771a7b',
    950: '#000000',
  },
}
SCSS
$custom: #771a7b;
$custom-light: #a262a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771a7b",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 297.526,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.16846,
    "h": 326.2
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#771A7B
secondary
#46AF42
accent
#E84047
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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