#772A6F#772A6F

#772A6F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.138 H 332.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#772A6F
RGBrgb(119, 42, 111)
HSLhsl(306, 48%, 32%)
HSVhsv(306, 65%, 47%)
CMYKcmyk(0%, 64.7%, 6.7%, 53.3%)
CIE-LABlab(31.18, 42.55, -23.62)
CIE-LCHlch(31.18, 48.67, 330.96°)
OKLaboklab(42.46% 0.1218 -0.0647)
OKLCHoklch(42.46% 0.138 332)
XYZxyz(11.3049, 6.7264, 15.7387)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A6F #2A7732
analogous
#592A77 #772A6F #772A49
triadic
#772A6F #6F772A #2A6F77
tetradic
#772A6F #77592A #2A7732 #2A4977
square
#772A6F #77592A #2A7732 #2A4977
split-complementary
#772A6F #49772A #2A7759
monochromatic
#1D0A1B #4A1A45 #772A6F #A43A99 #C458B9

Accessibility & contrast

On white

8.95
#772A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#772A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A6F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A6F#FFFFFF#000000##FFFFFF
##772A6F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274271
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#7C3148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772a6f;
/* rgb */ color: rgb(119, 42, 111);
/* oklch */ color: oklch(42.5% 0.138 332.0);
Tailwind
colors: {
  custom: {
    50: '#a16998',
    500: '#772a6f',
    950: '#000000',
  },
}
SCSS
$custom: #772a6f;
$custom-light: #a16998;
$custom-dark: #000000;
JSON
{
  "hex": "#772a6f",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 306.234,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.13791,
    "h": 332
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#772A6F
secondary
#54A95D
accent
#D75E50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #772A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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