#771E7A#771E7A

#771E7A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 326.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#771E7A
RGBrgb(119, 30, 122)
HSLhsl(298, 61%, 30%)
HSVhsv(298, 75%, 48%)
CMYKcmyk(2.5%, 75.4%, 0%, 52.2%)
CIE-LABlab(30.05, 49.41, -32.38)
CIE-LCHlch(30.05, 59.07, 326.77°)
OKLaboklab(41.85% 0.1363 -0.0899)
OKLCHoklch(41.85% 0.163 326.6)
XYZxyz(11.5847, 6.2564, 19.0060)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7A #217A1E
analogous
#491E7A #771E7A #7A1E4F
triadic
#771E7A #7A771E #1E7A77
tetradic
#771E7A #7A491E #217A1E #1E4F7A
square
#771E7A #7A491E #217A1E #1E4F7A
split-complementary
#771E7A #4F7A1E #1E7A49
monochromatic
#180619 #471249 #771E7A #A72AAB #CC42D0

Accessibility & contrast

On white

9.33
#771E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E7A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7A#FFFFFF#000000##FFFFFF
##771E7A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#7A2D4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771e7a;
/* rgb */ color: rgb(119, 30, 122);
/* oklch */ color: oklch(41.8% 0.163 326.6);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#771e7a',
    950: '#000000',
  },
}
SCSS
$custom: #771e7a;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7a",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 298.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.16331,
    "h": 326.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#771E7A
secondary
#4AAE46
accent
#E44449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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