#771876#771876

#771876 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 328.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#771876
RGBrgb(119, 24, 118)
HSLhsl(301, 66%, 28%)
HSVhsv(301, 80%, 47%)
CMYKcmyk(0%, 79.8%, 0.8%, 53.3%)
CIE-LABlab(29.12, 50.69, -31.32)
CIE-LCHlch(29.12, 59.59, 328.28°)
OKLaboklab(41.1% 0.142 -0.0868)
OKLCHoklch(41.1% 0.166 328.6)
XYZxyz(11.2043, 5.8841, 17.6816)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771876 #187719
analogous
#491877 #771876 #771846
triadic
#771876 #767718 #187677
tetradic
#771876 #774918 #187719 #184677
square
#771876 #774918 #187719 #184677
split-complementary
#771876 #467718 #187749
monochromatic
#190519 #440E43 #771876 #AA22A8 #D633D4

Accessibility & contrast

On white

9.65
#771876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771876
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771876#FFFFFF#000000##FFFFFF
##7718761.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D78
Deuteranopia (green-blind)
#344974
Tritanopia (blue-blind)
#7B2847
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771876;
/* rgb */ color: rgb(119, 24, 118);
/* oklch */ color: oklch(41.1% 0.166 328.6);
Tailwind
colors: {
  custom: {
    50: '#a2619e',
    500: '#771876',
    950: '#000000',
  },
}
SCSS
$custom: #771876;
$custom-light: #a2619e;
$custom-dark: #000000;
JSON
{
  "hex": "#771876",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 300.632,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.16642,
    "h": 328.6
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#771876
secondary
#3FAC40
accent
#E9403E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771876

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

Preview Lab → · Contrast checker → · Palette generator →

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