#771A74#771A74

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

Color values

HEX#771A74
RGBrgb(119, 26, 116)
HSLhsl(302, 64%, 28%)
HSVhsv(302, 78%, 47%)
CMYKcmyk(0%, 78.2%, 2.5%, 53.3%)
CIE-LABlab(29.22, 49.72, -29.90)
CIE-LCHlch(29.22, 58.01, 328.98°)
OKLaboklab(41.14% 0.1402 -0.0827)
OKLCHoklch(41.14% 0.163 329.5)
XYZxyz(11.1295, 5.9225, 17.0766)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A74 #1A771D
analogous
#4B1A77 #771A74 #771A45
triadic
#771A74 #74771A #1A7477
tetradic
#771A74 #774B1A #1A771D #1A4577
square
#771A74 #774B1A #1A771D #1A4577
split-complementary
#771A74 #45771A #1A774B
monochromatic
#190518 #450F43 #771A74 #A925A5 #D338CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771A74#FFFFFF#000000##FFFFFF
##771A741.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)
#0A3D76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7B2846
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771a74;
/* rgb */ color: rgb(119, 26, 116);
/* oklch */ color: oklch(41.1% 0.163 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2629c',
    500: '#771a74',
    950: '#000000',
  },
}
SCSS
$custom: #771a74;
$custom-light: #a2629c;
$custom-dark: #000000;
JSON
{
  "hex": "#771a74",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 301.935,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.16278,
    "h": 329.5
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#771A74
secondary
#41AC45
accent
#E74641
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771A74

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

Preview Lab → · Contrast checker → · Palette generator →

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