#771978#771978

#771978 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 327.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#771978
RGBrgb(119, 25, 120)
HSLhsl(299, 66%, 28%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(0.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(29.35, 50.72, -32.23)
CIE-LCHlch(29.35, 60.10, 327.57°)
OKLaboklab(41.31% 0.1411 -0.0894)
OKLCHoklch(41.31% 0.167 327.6)
XYZxyz(11.3454, 5.9741, 18.3212)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771978 #1A7819
analogous
#471978 #771978 #781949
triadic
#771978 #787719 #197877
tetradic
#771978 #784719 #1A7819 #194978
square
#771978 #784719 #1A7819 #194978
split-complementary
#771978 #497819 #197847
monochromatic
#190519 #450E45 #771978 #A924AB #D336D5

Accessibility & contrast

On white

9.57
#771978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771978
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771978#FFFFFF#000000##FFFFFF
##7719781.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#7B2948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771978;
/* rgb */ color: rgb(119, 25, 120);
/* oklch */ color: oklch(41.3% 0.167 327.6);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#771978',
    950: '#000000',
  },
}
SCSS
$custom: #771978;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#771978",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 299.368,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.16704,
    "h": 327.6
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#771978
secondary
#41AD40
accent
#E83F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771978

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

Preview Lab → · Contrast checker → · Palette generator →

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