#771B6E#771B6E

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

Color values

HEX#771B6E
RGBrgb(119, 27, 110)
HSLhsl(306, 63%, 29%)
HSVhsv(306, 77%, 47%)
CMYKcmyk(0%, 77.3%, 7.6%, 53.3%)
CIE-LABlab(28.99, 48.38, -26.43)
CIE-LCHlch(28.99, 55.13, 331.35°)
OKLaboklab(40.86% 0.1391 -0.0726)
OKLCHoklch(40.86% 0.157 332.4)
XYZxyz(10.8142, 5.8325, 15.3051)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B6E #1B7724
analogous
#521B77 #771B6E #771B40
triadic
#771B6E #6E771B #1B6E77
tetradic
#771B6E #77521B #1B7724 #1B4077
square
#771B6E #77521B #1B7724 #1B4077
split-complementary
#771B6E #40771B #1B7752
monochromatic
#190617 #451040 #771B6E #A9269C #D23AC3

Accessibility & contrast

On white

9.69
#771B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B6E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B6E#FFFFFF#000000##FFFFFF
##771B6E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7C2543
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b6e;
/* rgb */ color: rgb(119, 27, 110);
/* oklch */ color: oklch(40.9% 0.157 332.4);
Tailwind
colors: {
  custom: {
    50: '#a16298',
    500: '#771b6e',
    950: '#000000',
  },
}
SCSS
$custom: #771b6e;
$custom-light: #a16298;
$custom-dark: #000000;
JSON
{
  "hex": "#771b6e",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 305.87,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.15696,
    "h": 332.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#771B6E
secondary
#42AB4D
accent
#E65242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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