#771E7D#771E7D

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

Color values

HEX#771E7D
RGBrgb(119, 30, 125)
HSLhsl(296, 61%, 30%)
HSVhsv(296, 76%, 49%)
CMYKcmyk(4.8%, 76%, 0%, 51%)
CIE-LABlab(30.23, 49.96, -33.97)
CIE-LCHlch(30.23, 60.41, 325.78°)
OKLaboklab(42.04% 0.1362 -0.0946)
OKLCHoklch(42.04% 0.166 325.2)
XYZxyz(11.7734, 6.3319, 20.0001)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7D #247D1E
analogous
#481E7D #771E7D #7D1E53
triadic
#771E7D #7D771E #1E7D77
tetradic
#771E7D #7D481E #247D1E #1E537D
square
#771E7D #7D481E #247D1E #1E537D
split-complementary
#771E7D #537D1E #1E7D48
monochromatic
#19061A #48124C #771E7D #A62AAE #C943D2

Accessibility & contrast

On white

9.27
#771E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E7D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7D#FFFFFF#000000##FFFFFF
##771E7D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#7A2F4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771e7d;
/* rgb */ color: rgb(119, 30, 125);
/* oklch */ color: oklch(42.0% 0.166 325.2);
Tailwind
colors: {
  custom: {
    50: '#a164a3',
    500: '#771e7d',
    950: '#000000',
  },
}
SCSS
$custom: #771e7d;
$custom-light: #a164a3;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7d",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 296.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.16584,
    "h": 325.2
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#771E7D
secondary
#4DB046
accent
#E4434E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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