#771879#771879

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

Color values

HEX#771879
RGBrgb(119, 24, 121)
HSLhsl(299, 67%, 28%)
HSVhsv(299, 80%, 47%)
CMYKcmyk(1.7%, 80.2%, 0%, 52.5%)
CIE-LABlab(29.30, 51.21, -32.94)
CIE-LCHlch(29.30, 60.88, 327.25°)
OKLaboklab(41.29% 0.1419 -0.0915)
OKLCHoklch(41.29% 0.169 327.2)
XYZxyz(11.3854, 5.9565, 18.6355)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771879 #1A7918
analogous
#461879 #771879 #79184A
triadic
#771879 #797718 #187977
tetradic
#771879 #794618 #1A7918 #184A79
square
#771879 #794618 #1A7918 #184A79
split-complementary
#771879 #4A7918 #187946
monochromatic
#19051A #450E46 #771879 #A922AC #D335D7

Accessibility & contrast

On white

9.58
#771879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##771879#FFFFFF#000000##FFFFFF
##7718791.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)
#003D7C
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#7B2948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771879;
/* rgb */ color: rgb(119, 24, 121);
/* oklch */ color: oklch(41.3% 0.169 327.2);
Tailwind
colors: {
  custom: {
    50: '#a262a0',
    500: '#771879',
    950: '#000000',
  },
}
SCSS
$custom: #771879;
$custom-light: #a262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771879",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 298.763,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.16883,
    "h": 327.2
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#771879
secondary
#41AE3F
accent
#EA3E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771879

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

Preview Lab → · Contrast checker → · Palette generator →

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