#772879#772879

#772879 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 326.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#772879
RGBrgb(119, 40, 121)
HSLhsl(299, 50%, 32%)
HSVhsv(299, 67%, 47%)
CMYKcmyk(1.7%, 66.9%, 0%, 52.5%)
CIE-LABlab(31.40, 45.26, -29.61)
CIE-LCHlch(31.40, 54.09, 326.81°)
OKLaboklab(42.8% 0.1252 -0.082)
OKLCHoklch(42.8% 0.15 326.8)
XYZxyz(11.8175, 6.8208, 18.7796)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772879 #2A7928
analogous
#4F2879 #772879 #792853
triadic
#772879 #797728 #287977
tetradic
#772879 #794F28 #2A7928 #285379
square
#772879 #794F28 #2A7928 #285379
split-complementary
#772879 #537928 #28794F
monochromatic
#1D0A1D #4A194B #772879 #A437A7 #C455C7

Accessibility & contrast

On white

8.88
#772879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#772879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772879
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772879#FFFFFF#000000##FFFFFF
##7728791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#7A334D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772879;
/* rgb */ color: rgb(119, 40, 121);
/* oklch */ color: oklch(42.8% 0.150 326.8);
Tailwind
colors: {
  custom: {
    50: '#a169a0',
    500: '#772879',
    950: '#000000',
  },
}
SCSS
$custom: #772879;
$custom-light: #a169a0;
$custom-dark: #000000;
JSON
{
  "hex": "#772879",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 298.519,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.14964,
    "h": 326.8
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#772879
secondary
#54AB52
accent
#DA4E51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772879

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

Preview Lab → · Contrast checker → · Palette generator →

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