#771F74#771F74

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

Color values

HEX#771F74
RGBrgb(119, 31, 116)
HSLhsl(302, 59%, 29%)
HSVhsv(302, 74%, 47%)
CMYKcmyk(0%, 73.9%, 2.5%, 53.3%)
CIE-LABlab(29.82, 47.99, -28.94)
CIE-LCHlch(29.82, 56.04, 328.91°)
OKLaboklab(41.57% 0.1353 -0.0799)
OKLCHoklch(41.57% 0.157 329.4)
XYZxyz(11.2500, 6.1637, 17.1168)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F74 #1F7722
analogous
#4E1F77 #771F74 #771F48
triadic
#771F74 #74771F #1F7477
tetradic
#771F74 #774E1F #1F7722 #1F4877
square
#771F74 #774E1F #1F7722 #1F4877
split-complementary
#771F74 #48771F #1F774E
monochromatic
#180618 #461245 #771F74 #A82CA3 #CE43C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771F74#FFFFFF#000000##FFFFFF
##771F741.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)
#133F76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7B2B47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771f74;
/* rgb */ color: rgb(119, 31, 116);
/* oklch */ color: oklch(41.6% 0.157 329.4);
Tailwind
colors: {
  custom: {
    50: '#a1649c',
    500: '#771f74',
    950: '#000000',
  },
}
SCSS
$custom: #771f74;
$custom-light: #a1649c;
$custom-dark: #000000;
JSON
{
  "hex": "#771f74",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 302.045,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.15713,
    "h": 329.4
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#771F74
secondary
#47AB4B
accent
#E24B46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F74

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

Preview Lab → · Contrast checker → · Palette generator →

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