#772876#772876

#772876 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 328.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#772876
RGBrgb(119, 40, 118)
HSLhsl(301, 50%, 31%)
HSVhsv(301, 66%, 47%)
CMYKcmyk(0%, 66.4%, 0.8%, 53.3%)
CIE-LABlab(31.23, 44.71, -27.98)
CIE-LCHlch(31.23, 52.75, 327.96°)
OKLaboklab(42.62% 0.125 -0.0772)
OKLCHoklch(42.62% 0.147 328.3)
XYZxyz(11.6364, 6.7483, 17.8257)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772876 #287729
analogous
#502877 #772876 #77284E
triadic
#772876 #767728 #287677
tetradic
#772876 #775028 #287729 #284E77
square
#772876 #775028 #287729 #284E77
split-complementary
#772876 #4E7728 #287750
monochromatic
#1B091B #491949 #772876 #A537A3 #C554C4

Accessibility & contrast

On white

8.94
#772876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#772876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772876
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772876#FFFFFF#000000##FFFFFF
##7728761.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#7B324B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772876;
/* rgb */ color: rgb(119, 40, 118);
/* oklch */ color: oklch(42.6% 0.147 328.3);
Tailwind
colors: {
  custom: {
    50: '#a1689e',
    500: '#772876',
    950: '#000000',
  },
}
SCSS
$custom: #772876;
$custom-light: #a1689e;
$custom-dark: #000000;
JSON
{
  "hex": "#772876",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 300.759,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42618,
    "c": 0.14697,
    "h": 328.3
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#772876
secondary
#52A953
accent
#D9504F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772876

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

Preview Lab → · Contrast checker → · Palette generator →

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