#772A71#772A71

#772A71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.140 H 330.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#772A71
RGBrgb(119, 42, 113)
HSLhsl(305, 48%, 32%)
HSVhsv(305, 65%, 47%)
CMYKcmyk(0%, 64.7%, 5%, 53.3%)
CIE-LABlab(31.28, 42.91, -24.73)
CIE-LCHlch(31.28, 49.53, 330.04°)
OKLaboklab(42.57% 0.122 -0.0679)
OKLCHoklch(42.57% 0.14 330.9)
XYZxyz(11.4163, 6.7709, 16.3252)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A71 #2A7730
analogous
#572A77 #772A71 #772A4B
triadic
#772A71 #71772A #2A7177
tetradic
#772A71 #77572A #2A7730 #2A4B77
square
#772A71 #77572A #2A7730 #2A4B77
split-complementary
#772A71 #4B772A #2A7757
monochromatic
#1D0A1B #4A1A46 #772A71 #A43A9C #C458BB

Accessibility & contrast

On white

8.92
#772A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A71
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A71#FFFFFF#000000##FFFFFF
##772A711.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#7C3249
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772a71;
/* rgb */ color: rgb(119, 42, 113);
/* oklch */ color: oklch(42.6% 0.140 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1699a',
    500: '#772a71',
    950: '#000000',
  },
}
SCSS
$custom: #772a71;
$custom-light: #a1699a;
$custom-dark: #000000;
JSON
{
  "hex": "#772a71",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 304.675,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.13964,
    "h": 330.9
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#772A71
secondary
#54A95B
accent
#D75B50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772A71

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

Preview Lab → · Contrast checker → · Palette generator →

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