#771D7E#771D7E

#771D7E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.168 H 324.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#771D7E
RGBrgb(119, 29, 126)
HSLhsl(296, 63%, 30%)
HSVhsv(296, 77%, 49%)
CMYKcmyk(5.6%, 77%, 0%, 50.6%)
CIE-LABlab(30.18, 50.49, -34.70)
CIE-LCHlch(30.18, 61.26, 325.50°)
OKLaboklab(42.02% 0.1372 -0.0967)
OKLCHoklch(42.02% 0.168 324.8)
XYZxyz(11.8127, 6.3078, 20.3300)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D7E #247E1D
analogous
#461D7E #771D7E #7E1D54
triadic
#771D7E #7E771D #1D7E77
tetradic
#771D7E #7E461D #247E1D #1D547E
square
#771D7E #7E461D #247E1D #1D547E
split-complementary
#771D7E #547E1D #1D7E46
monochromatic
#19061B #48124C #771D7E #A628B0 #C942D3

Accessibility & contrast

On white

9.29
#771D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D7E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D7E#FFFFFF#000000##FFFFFF
##771D7E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771d7e;
/* rgb */ color: rgb(119, 29, 126);
/* oklch */ color: oklch(42.0% 0.168 324.8);
Tailwind
colors: {
  custom: {
    50: '#a264a4',
    500: '#771d7e',
    950: '#000000',
  },
}
SCSS
$custom: #771d7e;
$custom-light: #a264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771d7e",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 295.67,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.1678,
    "h": 324.8
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#771D7E
secondary
#4DB145
accent
#E6424E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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