#771C7C#771C7C

#771C7C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.167 H 325.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#771C7C
RGBrgb(119, 28, 124)
HSLhsl(297, 63%, 30%)
HSVhsv(297, 77%, 49%)
CMYKcmyk(4%, 77.4%, 0%, 51.4%)
CIE-LABlab(29.93, 50.46, -33.83)
CIE-LCHlch(29.93, 60.75, 326.16°)
OKLaboklab(41.8% 0.1382 -0.0941)
OKLCHoklch(41.8% 0.167 325.7)
XYZxyz(11.6608, 6.2085, 19.6490)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7C #217C1C
analogous
#471C7C #771C7C #7C1C51
triadic
#771C7C #7C771C #1C7C77
tetradic
#771C7C #7C471C #217C1C #1C517C
square
#771C7C #7C471C #217C1C #1C517C
split-complementary
#771C7C #517C1C #1C7C47
monochromatic
#180619 #47114A #771C7C #A727AE #CC3FD4

Accessibility & contrast

On white

9.37
#771C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C7C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7C#FFFFFF#000000##FFFFFF
##771C7C1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771c7c;
/* rgb */ color: rgb(119, 28, 124);
/* oklch */ color: oklch(41.8% 0.167 325.7);
Tailwind
colors: {
  custom: {
    50: '#a263a2',
    500: '#771c7c',
    950: '#000000',
  },
}
SCSS
$custom: #771c7c;
$custom-light: #a263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7c",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 296.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.1672,
    "h": 325.7
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#771C7C
secondary
#4AB044
accent
#E6424A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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