#771B80#771B80

#771B80 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 324.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#771B80
RGBrgb(119, 27, 128)
HSLhsl(295, 65%, 30%)
HSVhsv(295, 79%, 50%)
CMYKcmyk(7%, 78.9%, 0%, 49.8%)
CIE-LABlab(30.07, 51.52, -36.12)
CIE-LCHlch(30.07, 62.92, 324.96°)
OKLaboklab(41.98% 0.1389 -0.1008)
OKLCHoklch(41.98% 0.172 324)
XYZxyz(11.8956, 6.2651, 21.0006)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B80 #24801B
analogous
#441B80 #771B80 #801B57
triadic
#771B80 #80771B #1B8077
tetradic
#771B80 #80441B #24801B #1B5780
square
#771B80 #80441B #24801B #1B5780
split-complementary
#771B80 #57801B #1B8044
monochromatic
#19061B #48104D #771B80 #A626B3 #C93FD6

Accessibility & contrast

On white

9.32
#771B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B80
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B80#FFFFFF#000000##FFFFFF
##771B801.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#2F4A7E
Tritanopia (blue-blind)
#792E4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771b80;
/* rgb */ color: rgb(119, 27, 128);
/* oklch */ color: oklch(42.0% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#a263a5',
    500: '#771b80',
    950: '#000000',
  },
}
SCSS
$custom: #771b80;
$custom-light: #a263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771b80",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 294.653,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.17159,
    "h": 324
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#771B80
secondary
#4DB443
accent
#E8404F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B80

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

Preview Lab → · Contrast checker → · Palette generator →

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