#771C7D#771C7D

#771C7D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.168 H 325.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#771C7D
RGBrgb(119, 28, 125)
HSLhsl(296, 63%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(4.8%, 77.6%, 0%, 51%)
CIE-LABlab(30.00, 50.64, -34.36)
CIE-LCHlch(30.00, 61.20, 325.85°)
OKLaboklab(41.87% 0.1381 -0.0957)
OKLCHoklch(41.87% 0.168 325.3)
XYZxyz(11.7244, 6.2339, 19.9838)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7D #227D1C
analogous
#471C7D #771C7D #7D1C52
triadic
#771C7D #7D771C #1C7D77
tetradic
#771C7D #7D471C #227D1C #1C527D
square
#771C7D #7D471C #227D1C #1C527D
split-complementary
#771C7D #527D1C #1C7D47
monochromatic
#180619 #47114B #771C7D #A727AF #CB3FD4

Accessibility & contrast

On white

9.35
#771C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C7D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7D#FFFFFF#000000##FFFFFF
##771C7D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#7A2D4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c7d;
/* rgb */ color: rgb(119, 28, 125);
/* oklch */ color: oklch(41.9% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#a263a3',
    500: '#771c7d',
    950: '#000000',
  },
}
SCSS
$custom: #771c7d;
$custom-light: #a263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7d",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 296.289,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.16803,
    "h": 325.3
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#771C7D
secondary
#4BB144
accent
#E6414C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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