#772F78#772F78

#772F78 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.138 H 327.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#772F78
RGBrgb(119, 47, 120)
HSLhsl(299, 44%, 33%)
HSVhsv(299, 61%, 47%)
CMYKcmyk(0.8%, 60.8%, 0%, 52.9%)
CIE-LABlab(32.51, 41.85, -27.23)
CIE-LCHlch(32.51, 49.93, 326.95°)
OKLaboklab(43.58% 0.1161 -0.0751)
OKLCHoklch(43.58% 0.138 327.1)
XYZxyz(12.0142, 7.3118, 18.5442)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F78 #30782F
analogous
#522F78 #772F78 #782F54
triadic
#772F78 #78772F #2F7877
tetradic
#772F78 #78522F #30782F #2F5478
square
#772F78 #78522F #30782F #2F5478
split-complementary
#772F78 #54782F #2F7852
monochromatic
#200D20 #4B1E4C #772F78 #A340A4 #C060C1

Accessibility & contrast

On white

8.53
#772F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#772F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F78
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F78#FFFFFF#000000##FFFFFF
##772F781.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#7A384F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772f78;
/* rgb */ color: rgb(119, 47, 120);
/* oklch */ color: oklch(43.6% 0.138 327.1);
Tailwind
colors: {
  custom: {
    50: '#a16c9f',
    500: '#772f78',
    950: '#000000',
  },
}
SCSS
$custom: #772f78;
$custom-light: #a16c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#772f78",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 299.178,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.13826,
    "h": 327.1
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#772F78
secondary
#5CA85B
accent
#D35456
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772F78

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

Preview Lab → · Contrast checker → · Palette generator →

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