#771B72#771B72

#771B72 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.160 H 330.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#771B72
RGBrgb(119, 27, 114)
HSLhsl(303, 63%, 29%)
HSVhsv(303, 77%, 47%)
CMYKcmyk(0%, 77.3%, 4.2%, 53.3%)
CIE-LABlab(29.21, 49.05, -28.63)
CIE-LCHlch(29.21, 56.79, 329.73°)
OKLaboklab(41.1% 0.1393 -0.079)
OKLCHoklch(41.1% 0.16 330.4)
XYZxyz(11.0369, 5.9216, 16.4780)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B72 #1B7720
analogous
#4E1B77 #771B72 #771B44
triadic
#771B72 #72771B #1B7277
tetradic
#771B72 #774E1B #1B7720 #1B4477
square
#771B72 #774E1B #1B7720 #1B4477
split-complementary
#771B72 #44771B #1B774E
monochromatic
#190618 #451042 #771B72 #A926A2 #D23ACA

Accessibility & contrast

On white

9.61
#771B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B72
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B72#FFFFFF#000000##FFFFFF
##771B721.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7C2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771b72;
/* rgb */ color: rgb(119, 27, 114);
/* oklch */ color: oklch(41.1% 0.160 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1629b',
    500: '#771b72',
    950: '#000000',
  },
}
SCSS
$custom: #771b72;
$custom-light: #a1629b;
$custom-dark: #000000;
JSON
{
  "hex": "#771b72",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 303.261,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.16012,
    "h": 330.4
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#771B72
secondary
#42AB48
accent
#E64B42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B72

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

Preview Lab → · Contrast checker → · Palette generator →

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