#771980#771980

#771980 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 324.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#771980
RGBrgb(119, 25, 128)
HSLhsl(295, 67%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(7%, 80.5%, 0%, 49.8%)
CIE-LABlab(29.85, 52.15, -36.47)
CIE-LCHlch(29.85, 63.64, 325.03°)
OKLaboklab(41.83% 0.1406 -0.1018)
OKLCHoklch(41.83% 0.174 324.1)
XYZxyz(11.8513, 6.1765, 20.9858)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771980 #228019
analogous
#431980 #771980 #801956
triadic
#771980 #807719 #198077
tetradic
#771980 #804319 #228019 #195680
square
#771980 #804319 #228019 #195680
split-complementary
#771980 #568019 #198043
monochromatic
#18051A #470F4D #771980 #A723B3 #CB3BD9

Accessibility & contrast

On white

9.40
#771980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771980
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771980#FFFFFF#000000##FFFFFF
##7719801.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#792D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771980;
/* rgb */ color: rgb(119, 25, 128);
/* oklch */ color: oklch(41.8% 0.174 324.1);
Tailwind
colors: {
  custom: {
    50: '#a262a5',
    500: '#771980',
    950: '#000000',
  },
}
SCSS
$custom: #771980;
$custom-light: #a262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771980",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 294.757,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.17358,
    "h": 324.1
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#771980
secondary
#4BB441
accent
#EA3E4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771980

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

Preview Lab → · Contrast checker → · Palette generator →

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