#771F6B#771F6B

#771F6B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.150 H 334.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#771F6B
RGBrgb(119, 31, 107)
HSLhsl(308, 59%, 29%)
HSVhsv(308, 74%, 47%)
CMYKcmyk(0%, 73.9%, 10.1%, 53.3%)
CIE-LABlab(29.32, 46.46, -23.97)
CIE-LCHlch(29.32, 52.28, 332.71°)
OKLaboklab(41.05% 0.1348 -0.0656)
OKLCHoklch(41.05% 0.15 334)
XYZxyz(10.7517, 5.9644, 14.4920)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F6B #1F772B
analogous
#571F77 #771F6B #771F3F
triadic
#771F6B #6B771F #1F6B77
tetradic
#771F6B #77571F #1F772B #1F3F77
square
#771F6B #77571F #1F772B #1F3F77
split-complementary
#771F6B #3F771F #1F7757
monochromatic
#180616 #46123F #771F6B #A82C97 #CE43BB

Accessibility & contrast

On white

9.58
#771F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#771F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F6B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F6B#FFFFFF#000000##FFFFFF
##771F6B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7D2742
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771f6b;
/* rgb */ color: rgb(119, 31, 107);
/* oklch */ color: oklch(41.0% 0.150 334.0);
Tailwind
colors: {
  custom: {
    50: '#a16495',
    500: '#771f6b',
    950: '#000000',
  },
}
SCSS
$custom: #771f6b;
$custom-light: #a16495;
$custom-dark: #000000;
JSON
{
  "hex": "#771f6b",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 308.182,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.14988,
    "h": 334
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#771F6B
secondary
#47AB55
accent
#E25B46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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