#771B7C#771B7C

#771B7C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.168 H 325.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#771B7C
RGBrgb(119, 27, 124)
HSLhsl(297, 64%, 30%)
HSVhsv(297, 78%, 49%)
CMYKcmyk(4%, 78.2%, 0%, 51.4%)
CIE-LABlab(29.82, 50.79, -34.01)
CIE-LCHlch(29.82, 61.13, 326.19°)
OKLaboklab(41.72% 0.1391 -0.0946)
OKLCHoklch(41.72% 0.168 325.8)
XYZxyz(11.6375, 6.1618, 19.6413)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B7C #207C1B
analogous
#471B7C #771B7C #7C1B51
triadic
#771B7C #7C771B #1B7C77
tetradic
#771B7C #7C471B #207C1B #1B517C
square
#771B7C #7C471B #207C1B #1B517C
split-complementary
#771B7C #517C1B #1B7C47
monochromatic
#180519 #47104A #771B7C #A726AE #CD3DD5

Accessibility & contrast

On white

9.41
#771B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B7C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B7C#FFFFFF#000000##FFFFFF
##771B7C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#7A2C4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b7c;
/* rgb */ color: rgb(119, 27, 124);
/* oklch */ color: oklch(41.7% 0.168 325.8);
Tailwind
colors: {
  custom: {
    50: '#a263a2',
    500: '#771b7c',
    950: '#000000',
  },
}
SCSS
$custom: #771b7c;
$custom-light: #a263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771b7c",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 296.907,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.16826,
    "h": 325.8
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#771B7C
secondary
#48B043
accent
#E74149
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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