#771C7F#771C7F

#771C7F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 324.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#771C7F
RGBrgb(119, 28, 127)
HSLhsl(295, 64%, 30%)
HSVhsv(295, 78%, 50%)
CMYKcmyk(6.3%, 78%, 0%, 50.2%)
CIE-LABlab(30.12, 51.01, -35.41)
CIE-LCHlch(30.12, 62.10, 325.23°)
OKLaboklab(42% 0.138 -0.0987)
OKLCHoklch(42% 0.17 324.4)
XYZxyz(11.8535, 6.2855, 20.6634)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7F #247F1C
analogous
#461C7F #771C7F #7F1C55
triadic
#771C7F #7F771C #1C7F77
tetradic
#771C7F #7F461C #247F1C #1C557F
square
#771C7F #7F461C #247F1C #1C557F
split-complementary
#771C7F #557F1C #1C7F46
monochromatic
#19061B #48114D #771C7F #A627B1 #C940D5

Accessibility & contrast

On white

9.30
#771C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C7F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7F#FFFFFF#000000##FFFFFF
##771C7F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#792E4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c7f;
/* rgb */ color: rgb(119, 28, 127);
/* oklch */ color: oklch(42.0% 0.170 324.4);
Tailwind
colors: {
  custom: {
    50: '#a263a4',
    500: '#771c7f',
    950: '#000000',
  },
}
SCSS
$custom: #771c7f;
$custom-light: #a263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7f",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 295.152,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.16971,
    "h": 324.4
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#771C7F
secondary
#4DB344
accent
#E7414E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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