#771D7B#771D7B

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

Color values

HEX#771D7B
RGBrgb(119, 29, 123)
HSLhsl(297, 62%, 30%)
HSVhsv(297, 76%, 48%)
CMYKcmyk(3.3%, 76.4%, 0%, 51.8%)
CIE-LABlab(29.99, 49.94, -33.11)
CIE-LCHlch(29.99, 59.92, 326.46°)
OKLaboklab(41.82% 0.1373 -0.092)
OKLCHoklch(41.82% 0.165 326.2)
XYZxyz(11.6220, 6.2315, 19.3257)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D7B #217B1D
analogous
#481D7B #771D7B #7B1D50
triadic
#771D7B #7B771D #1D7B77
tetradic
#771D7B #7B481D #217B1D #1D507B
square
#771D7B #7B481D #217B1D #1D507B
split-complementary
#771D7B #507B1D #1D7B48
monochromatic
#180619 #471149 #771D7B #A729AD #CC40D2

Accessibility & contrast

On white

9.35
#771D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D7B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D7B#FFFFFF#000000##FFFFFF
##771D7B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7E
Deuteranopia (green-blind)
#334A79
Tritanopia (blue-blind)
#7A2D4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771d7b;
/* rgb */ color: rgb(119, 29, 123);
/* oklch */ color: oklch(41.8% 0.165 326.2);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#771d7b',
    950: '#000000',
  },
}
SCSS
$custom: #771d7b;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771d7b",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 297.447,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.16527,
    "h": 326.2
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#771D7B
secondary
#4AAF45
accent
#E5434A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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