#771F7C#771F7C

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

Color values

HEX#771F7C
RGBrgb(119, 31, 124)
HSLhsl(297, 60%, 30%)
HSVhsv(297, 75%, 49%)
CMYKcmyk(4%, 75%, 0%, 51.4%)
CIE-LABlab(30.30, 49.42, -33.24)
CIE-LCHlch(30.30, 59.56, 326.07°)
OKLaboklab(42.06% 0.1353 -0.0924)
OKLCHoklch(42.06% 0.164 325.7)
XYZxyz(11.7356, 6.3579, 19.6740)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F7C #247C1F
analogous
#481F7C #771F7C #7C1F52
triadic
#771F7C #7C771F #1F7C77
tetradic
#771F7C #7C481F #247C1F #1F527C
square
#771F7C #7C481F #247C1F #1F527C
split-complementary
#771F7C #527C1F #1F7C48
monochromatic
#19071A #48134B #771F7C #A62BAD #C945D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771F7C#FFFFFF#000000##FFFFFF
##771F7C1.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)
#04407F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#7A2F4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771f7c;
/* rgb */ color: rgb(119, 31, 124);
/* oklch */ color: oklch(42.1% 0.164 325.7);
Tailwind
colors: {
  custom: {
    50: '#a164a2',
    500: '#771f7c',
    950: '#000000',
  },
}
SCSS
$custom: #771f7c;
$custom-light: #a164a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771f7c",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 296.774,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.16385,
    "h": 325.7
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#771F7C
secondary
#4DAF48
accent
#E3454D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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