#771E7E#771E7E

#771E7E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.167 H 324.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#771E7E
RGBrgb(119, 30, 126)
HSLhsl(296, 62%, 31%)
HSVhsv(296, 76%, 49%)
CMYKcmyk(5.6%, 76.2%, 0%, 50.6%)
CIE-LABlab(30.30, 50.14, -34.50)
CIE-LCHlch(30.30, 60.86, 325.47°)
OKLaboklab(42.1% 0.1362 -0.0961)
OKLCHoklch(42.1% 0.167 324.8)
XYZxyz(11.8376, 6.3576, 20.3383)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7E #257E1E
analogous
#471E7E #771E7E #7E1E55
triadic
#771E7E #7E771E #1E7E77
tetradic
#771E7E #7E471E #257E1E #1E557E
square
#771E7E #7E471E #257E1E #1E557E
split-complementary
#771E7E #557E1E #1E7E47
monochromatic
#1A061B #48124D #771E7E #A62AAF #C844D2

Accessibility & contrast

On white

9.25
#771E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E7E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7E#FFFFFF#000000##FFFFFF
##771E7E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#7A2F4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771e7e;
/* rgb */ color: rgb(119, 30, 126);
/* oklch */ color: oklch(42.1% 0.167 324.8);
Tailwind
colors: {
  custom: {
    50: '#a264a4',
    500: '#771e7e',
    950: '#000000',
  },
}
SCSS
$custom: #771e7e;
$custom-light: #a264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7e",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 295.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42103,
    "c": 0.1667,
    "h": 324.8
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#771E7E
secondary
#4EB147
accent
#E5434F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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