#771C7B#771C7B

#771C7B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.166 H 326.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#771C7B
RGBrgb(119, 28, 123)
HSLhsl(297, 63%, 30%)
HSVhsv(297, 77%, 48%)
CMYKcmyk(3.3%, 77.2%, 0%, 51.8%)
CIE-LABlab(29.87, 50.28, -33.29)
CIE-LCHlch(29.87, 60.31, 326.49°)
OKLaboklab(41.74% 0.1382 -0.0926)
OKLCHoklch(41.74% 0.166 326.2)
XYZxyz(11.5979, 6.1833, 19.3177)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7B #207B1C
analogous
#481C7B #771C7B #7B1C4F
triadic
#771C7B #7B771C #1C7B77
tetradic
#771C7B #7B481C #207B1C #1C4F7B
square
#771C7B #7B481C #207B1C #1C4F7B
split-complementary
#771C7B #4F7B1C #1C7B48
monochromatic
#180619 #471149 #771C7B #A727AD #CD3ED3

Accessibility & contrast

On white

9.39
#771C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C7B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7B#FFFFFF#000000##FFFFFF
##771C7B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#334A79
Tritanopia (blue-blind)
#7A2C4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771c7b;
/* rgb */ color: rgb(119, 28, 123);
/* oklch */ color: oklch(41.7% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#a263a2',
    500: '#771c7b',
    950: '#000000',
  },
}
SCSS
$custom: #771c7b;
$custom-light: #a263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7b",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 297.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.16636,
    "h": 326.2
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#771C7B
secondary
#48AF44
accent
#E64249
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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