#771979#771979

#771979 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 327.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#771979
RGBrgb(119, 25, 121)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(1.7%, 79.3%, 0%, 52.5%)
CIE-LABlab(29.41, 50.90, -32.77)
CIE-LCHlch(29.41, 60.53, 327.23°)
OKLaboklab(41.37% 0.141 -0.091)
OKLCHoklch(41.37% 0.168 327.2)
XYZxyz(11.4064, 5.9985, 18.6425)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771979 #1B7919
analogous
#471979 #771979 #79194B
triadic
#771979 #797719 #197977
tetradic
#771979 #794719 #1B7919 #194B79
square
#771979 #794719 #1B7919 #194B79
split-complementary
#771979 #4B7919 #197947
monochromatic
#190519 #450F46 #771979 #A923AC #D237D6

Accessibility & contrast

On white

9.55
#771979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#771979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771979
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771979#FFFFFF#000000##FFFFFF
##7719791.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#334977
Tritanopia (blue-blind)
#7B2A48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771979;
/* rgb */ color: rgb(119, 25, 121);
/* oklch */ color: oklch(41.4% 0.168 327.2);
Tailwind
colors: {
  custom: {
    50: '#a262a0',
    500: '#771979',
    950: '#000000',
  },
}
SCSS
$custom: #771979;
$custom-light: #a262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771979",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 298.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.16785,
    "h": 327.2
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#771979
secondary
#42AE40
accent
#E93F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771979

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

Preview Lab → · Contrast checker → · Palette generator →

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