#771976#771976

#771976 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.165 H 328.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#771976
RGBrgb(119, 25, 118)
HSLhsl(301, 65%, 28%)
HSVhsv(301, 79%, 47%)
CMYKcmyk(0%, 79%, 0.8%, 53.3%)
CIE-LABlab(29.23, 50.38, -31.15)
CIE-LCHlch(29.23, 59.23, 328.27°)
OKLaboklab(41.18% 0.1411 -0.0863)
OKLCHoklch(41.18% 0.165 328.5)
XYZxyz(11.2253, 5.9261, 17.6886)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771976 #19771A
analogous
#491977 #771976 #771947
triadic
#771976 #767719 #197677
tetradic
#771976 #774919 #19771A #194777
square
#771976 #774919 #19771A #194777
split-complementary
#771976 #477719 #197749
monochromatic
#190519 #440E44 #771976 #AA24A8 #D536D3

Accessibility & contrast

On white

9.61
#771976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771976
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771976#FFFFFF#000000##FFFFFF
##7719761.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771976;
/* rgb */ color: rgb(119, 25, 118);
/* oklch */ color: oklch(41.2% 0.165 328.5);
Tailwind
colors: {
  custom: {
    50: '#a2629e',
    500: '#771976',
    950: '#000000',
  },
}
SCSS
$custom: #771976;
$custom-light: #a2629e;
$custom-dark: #000000;
JSON
{
  "hex": "#771976",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 300.638,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.16543,
    "h": 328.5
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#771976
secondary
#40AC41
accent
#E84140
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771976

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

Preview Lab → · Contrast checker → · Palette generator →

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