#771D8D#771D8D

#771D8D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 318.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#771D8D
RGBrgb(119, 29, 141)
HSLhsl(288, 66%, 33%)
HSVhsv(288, 79%, 55%)
CMYKcmyk(15.6%, 79.4%, 0%, 44.7%)
CIE-LABlab(31.17, 53.33, -42.46)
CIE-LCHlch(31.17, 68.16, 321.47°)
OKLaboklab(43.04% 0.1357 -0.1194)
OKLCHoklch(43.04% 0.181 318.7)
XYZxyz(12.8542, 6.7244, 25.8150)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D8D #338D1D
analogous
#3F1D8D #771D8D #8D1D6B
triadic
#771D8D #8D771D #1D8D77
tetradic
#771D8D #8D3F1D #338D1D #1D6B8D
square
#771D8D #8D3F1D #338D1D #1D6B8D
split-complementary
#771D8D #6B8D1D #1D8D3F
monochromatic
#210827 #4C135A #771D8D #A227C0 #BE4BDA

Accessibility & contrast

On white

8.96
#771D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#771D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D8D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D8D#FFFFFF#000000##FFFFFF
##771D8D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#773655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771d8d;
/* rgb */ color: rgb(119, 29, 141);
/* oklch */ color: oklch(43.0% 0.181 318.7);
Tailwind
colors: {
  custom: {
    50: '#a264af',
    500: '#771d8d',
    950: '#000000',
  },
}
SCSS
$custom: #771d8d;
$custom-light: #a264af;
$custom-dark: #000000;
JSON
{
  "hex": "#771d8d",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 288.214,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.18072,
    "h": 318.7
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#771D8D
secondary
#60BC4A
accent
#E93F60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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