#771B7B#771B7B

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

Color values

HEX#771B7B
RGBrgb(119, 27, 123)
HSLhsl(298, 64%, 29%)
HSVhsv(298, 78%, 48%)
CMYKcmyk(3.3%, 78%, 0%, 51.8%)
CIE-LABlab(29.75, 50.61, -33.48)
CIE-LCHlch(29.75, 60.68, 326.52°)
OKLaboklab(41.66% 0.1392 -0.0931)
OKLCHoklch(41.66% 0.167 326.2)
XYZxyz(11.5746, 6.1367, 19.3099)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B7B #1F7B1B
analogous
#471B7B #771B7B #7B1B4F
triadic
#771B7B #7B771B #1B7B77
tetradic
#771B7B #7B471B #1F7B1B #1B4F7B
square
#771B7B #7B471B #1F7B1B #1B4F7B
split-complementary
#771B7B #4F7B1B #1B7B47
monochromatic
#180619 #461049 #771B7B #A826AD #CE3CD4

Accessibility & contrast

On white

9.43
#771B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#771B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B7B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B7B#FFFFFF#000000##FFFFFF
##771B7B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771b7b;
/* rgb */ color: rgb(119, 27, 123);
/* oklch */ color: oklch(41.7% 0.167 326.2);
Tailwind
colors: {
  custom: {
    50: '#a263a2',
    500: '#771b7b',
    950: '#000000',
  },
}
SCSS
$custom: #771b7b;
$custom-light: #a263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771b7b",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 297.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41656,
    "c": 0.16743,
    "h": 326.2
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#771B7B
secondary
#47AF43
accent
#E74148
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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