#771B7D#771B7D

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

Color values

HEX#771B7D
RGBrgb(119, 27, 125)
HSLhsl(296, 64%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(4.8%, 78.4%, 0%, 51%)
CIE-LABlab(29.88, 50.97, -34.54)
CIE-LCHlch(29.88, 61.57, 325.88°)
OKLaboklab(41.79% 0.1391 -0.0962)
OKLCHoklch(41.79% 0.169 325.3)
XYZxyz(11.7011, 6.1873, 19.9760)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B7D #217D1B
analogous
#461B7D #771B7D #7D1B52
triadic
#771B7D #7D771B #1B7D77
tetradic
#771B7D #7D461B #217D1B #1B527D
square
#771B7D #7D461B #217D1B #1B527D
split-complementary
#771B7D #527D1B #1B7D46
monochromatic
#180519 #47104B #771B7D #A726AF #CC3DD5

Accessibility & contrast

On white

9.39
#771B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B7D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B7D#FFFFFF#000000##FFFFFF
##771B7D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#7A2D4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b7d;
/* rgb */ color: rgb(119, 27, 125);
/* oklch */ color: oklch(41.8% 0.169 325.3);
Tailwind
colors: {
  custom: {
    50: '#a263a3',
    500: '#771b7d',
    950: '#000000',
  },
}
SCSS
$custom: #771b7d;
$custom-light: #a263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#771b7d",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 296.327,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.16909,
    "h": 325.3
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#771B7D
secondary
#4AB143
accent
#E7404B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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