#771A6D#771A6D

#771A6D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.157 H 332.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#771A6D
RGBrgb(119, 26, 109)
HSLhsl(306, 64%, 28%)
HSVhsv(306, 78%, 47%)
CMYKcmyk(0%, 78.2%, 8.4%, 53.3%)
CIE-LABlab(28.81, 48.55, -26.06)
CIE-LCHlch(28.81, 55.10, 331.78°)
OKLaboklab(40.72% 0.1401 -0.0716)
OKLCHoklch(40.72% 0.157 332.9)
XYZxyz(10.7375, 5.7658, 15.0124)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A6D #1A7724
analogous
#521A77 #771A6D #771A3E
triadic
#771A6D #6D771A #1A6D77
tetradic
#771A6D #77521A #1A7724 #1A3E77
square
#771A6D #77521A #1A7724 #1A3E77
split-complementary
#771A6D #3E771A #1A7752
monochromatic
#190517 #450F3F #771A6D #A9259B #D338C3

Accessibility & contrast

On white

9.75
#771A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#771A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A6D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A6D#FFFFFF#000000##FFFFFF
##771A6D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7D2442
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771a6d;
/* rgb */ color: rgb(119, 26, 109);
/* oklch */ color: oklch(40.7% 0.157 332.9);
Tailwind
colors: {
  custom: {
    50: '#a16297',
    500: '#771a6d',
    950: '#000000',
  },
}
SCSS
$custom: #771a6d;
$custom-light: #a16297;
$custom-dark: #000000;
JSON
{
  "hex": "#771a6d",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 306.452,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.15728,
    "h": 332.9
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#771A6D
secondary
#41AC4D
accent
#E75341
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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