#771977#771977

#771977 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.166 H 328.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#771977
RGBrgb(119, 25, 119)
HSLhsl(300, 65%, 28%)
HSVhsv(300, 79%, 47%)
CMYKcmyk(0%, 79%, 0%, 53.3%)
CIE-LABlab(29.29, 50.55, -31.69)
CIE-LCHlch(29.29, 59.67, 327.91°)
OKLaboklab(41.24% 0.1411 -0.0879)
OKLCHoklch(41.24% 0.166 328.1)
XYZxyz(11.2850, 5.9499, 18.0033)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771977 #197719
analogous
#481977 #771977 #771948
triadic
#771977 #777719 #197777
tetradic
#771977 #774819 #197719 #194877
square
#771977 #774819 #197719 #194877
split-complementary
#771977 #487719 #197748
monochromatic
#190519 #440E44 #771977 #AA24AA #D536D5

Accessibility & contrast

On white

9.59
#771977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#771977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771977
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771977#FFFFFF#000000##FFFFFF
##7719771.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#7B2947
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771977;
/* rgb */ color: rgb(119, 25, 119);
/* oklch */ color: oklch(41.2% 0.166 328.1);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#771977',
    950: '#000000',
  },
}
SCSS
$custom: #771977;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#771977",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.16623,
    "h": 328.1
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#771977
secondary
#40AC40
accent
#E84040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771977

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

Preview Lab → · Contrast checker → · Palette generator →

#771977 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva