#772A78#772A78

#772A78 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#772A78
RGBrgb(119, 42, 120)
HSLhsl(299, 48%, 32%)
HSVhsv(299, 65%, 47%)
CMYKcmyk(0.8%, 65%, 0%, 52.9%)
CIE-LABlab(31.66, 44.19, -28.57)
CIE-LCHlch(31.66, 52.62, 327.12°)
OKLaboklab(42.97% 0.1227 -0.079)
OKLCHoklch(42.97% 0.146 327.2)
XYZxyz(11.8257, 6.9347, 18.4813)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A78 #2B782A
analogous
#502A78 #772A78 #782A52
triadic
#772A78 #78772A #2A7877
tetradic
#772A78 #78502A #2B782A #2A5278
square
#772A78 #78502A #2B782A #2A5278
split-complementary
#772A78 #52782A #2A7850
monochromatic
#1D0A1D #4A1A4B #772A78 #A43AA5 #C358C5

Accessibility & contrast

On white

8.80
#772A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#772A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A78
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A78#FFFFFF#000000##FFFFFF
##772A781.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#7A344D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772a78;
/* rgb */ color: rgb(119, 42, 120);
/* oklch */ color: oklch(43.0% 0.146 327.2);
Tailwind
colors: {
  custom: {
    50: '#a16a9f',
    500: '#772a78',
    950: '#000000',
  },
}
SCSS
$custom: #772a78;
$custom-light: #a16a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#772a78",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 299.231,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.14586,
    "h": 327.2
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#772A78
secondary
#55AA54
accent
#D85052
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772A78

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

Preview Lab → · Contrast checker → · Palette generator →

#772A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva