#771B6B#771B6B

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

Color values

HEX#771B6B
RGBrgb(119, 27, 107)
HSLhsl(308, 63%, 29%)
HSVhsv(308, 77%, 47%)
CMYKcmyk(0%, 77.3%, 10.1%, 53.3%)
CIE-LABlab(28.82, 47.89, -24.76)
CIE-LCHlch(28.82, 53.91, 332.66°)
OKLaboklab(40.69% 0.139 -0.0678)
OKLCHoklch(40.69% 0.155 334)
XYZxyz(10.6536, 5.7683, 14.4594)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B6B #1B7727
analogous
#551B77 #771B6B #771B3D
triadic
#771B6B #6B771B #1B6B77
tetradic
#771B6B #77551B #1B7727 #1B3D77
square
#771B6B #77551B #1B7727 #1B3D77
split-complementary
#771B6B #3D771B #1B7755
monochromatic
#190616 #45103E #771B6B #A92698 #D23ABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771B6B#FFFFFF#000000##FFFFFF
##771B6B1.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)
#193B6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#7D2441
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b6b;
/* rgb */ color: rgb(119, 27, 107);
/* oklch */ color: oklch(40.7% 0.155 334.0);
Tailwind
colors: {
  custom: {
    50: '#a16295',
    500: '#771b6b',
    950: '#000000',
  },
}
SCSS
$custom: #771b6b;
$custom-light: #a16295;
$custom-dark: #000000;
JSON
{
  "hex": "#771b6b",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 307.826,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.15464,
    "h": 334
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#771B6B
secondary
#42AB50
accent
#E65742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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