#771A7C#771A7C

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

Color values

HEX#771A7C
RGBrgb(119, 26, 124)
HSLhsl(297, 65%, 29%)
HSVhsv(297, 79%, 49%)
CMYKcmyk(4%, 79%, 0%, 51.4%)
CIE-LABlab(29.71, 51.12, -34.19)
CIE-LCHlch(29.71, 61.50, 326.22°)
OKLaboklab(41.64% 0.14 -0.0952)
OKLCHoklch(41.64% 0.169 325.8)
XYZxyz(11.6150, 6.1168, 19.6338)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A7C #1F7C1A
analogous
#461A7C #771A7C #7C1A50
triadic
#771A7C #7C771A #1A7C77
tetradic
#771A7C #7C461A #1F7C1A #1A507C
square
#771A7C #7C461A #1F7C1A #1A507C
split-complementary
#771A7C #507C1A #1A7C46
monochromatic
#180519 #460F49 #771A7C #A825AF #CE3BD6

Accessibility & contrast

On white

9.45
#771A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A7C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A7C#FFFFFF#000000##FFFFFF
##771A7C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#7A2C4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771a7c;
/* rgb */ color: rgb(119, 26, 124);
/* oklch */ color: oklch(41.6% 0.169 325.8);
Tailwind
colors: {
  custom: {
    50: '#a262a2',
    500: '#771a7c',
    950: '#000000',
  },
}
SCSS
$custom: #771a7c;
$custom-light: #a262a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771a7c",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 296.939,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.16929,
    "h": 325.8
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#771A7C
secondary
#47B042
accent
#E84048
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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