#771B74#771B74

#771B74 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.162 H 329.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#771B74
RGBrgb(119, 27, 116)
HSLhsl(302, 63%, 29%)
HSVhsv(302, 77%, 47%)
CMYKcmyk(0%, 77.3%, 2.5%, 53.3%)
CIE-LABlab(29.33, 49.39, -29.72)
CIE-LCHlch(29.33, 57.64, 328.97°)
OKLaboklab(41.22% 0.1393 -0.0821)
OKLCHoklch(41.22% 0.162 329.5)
XYZxyz(11.1520, 5.9676, 17.0841)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B74 #1B771E
analogous
#4C1B77 #771B74 #771B46
triadic
#771B74 #74771B #1B7477
tetradic
#771B74 #774C1B #1B771E #1B4677
square
#771B74 #774C1B #1B771E #1B4677
split-complementary
#771B74 #46771B #1B774C
monochromatic
#190618 #451043 #771B74 #A926A5 #D23ACD

Accessibility & contrast

On white

9.57
#771B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#771B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B74
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B74#FFFFFF#000000##FFFFFF
##771B741.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7B2846
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771b74;
/* rgb */ color: rgb(119, 27, 116);
/* oklch */ color: oklch(41.2% 0.162 329.5);
Tailwind
colors: {
  custom: {
    50: '#a1639c',
    500: '#771b74',
    950: '#000000',
  },
}
SCSS
$custom: #771b74;
$custom-light: #a1639c;
$custom-dark: #000000;
JSON
{
  "hex": "#771b74",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 301.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.16171,
    "h": 329.5
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#771B74
secondary
#42AB46
accent
#E64742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B74

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

Preview Lab → · Contrast checker → · Palette generator →

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