#772A74#772A74

#772A74 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 329.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#772A74
RGBrgb(119, 42, 116)
HSLhsl(302, 48%, 32%)
HSVhsv(302, 65%, 47%)
CMYKcmyk(0%, 64.7%, 2.5%, 53.3%)
CIE-LABlab(31.44, 43.45, -26.39)
CIE-LCHlch(31.44, 50.83, 328.73°)
OKLaboklab(42.74% 0.1223 -0.0726)
OKLCHoklch(42.74% 0.142 329.3)
XYZxyz(11.5880, 6.8396, 17.2294)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A74 #2A772D
analogous
#542A77 #772A74 #772A4E
triadic
#772A74 #74772A #2A7477
tetradic
#772A74 #77542A #2A772D #2A4E77
square
#772A74 #77542A #2A772D #2A4E77
split-complementary
#772A74 #4E772A #2A7754
monochromatic
#1D0A1C #4A1A48 #772A74 #A43AA0 #C458C0

Accessibility & contrast

On white

8.87
#772A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#772A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A74
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A74#FFFFFF#000000##FFFFFF
##772A741.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#7B334B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772a74;
/* rgb */ color: rgb(119, 42, 116);
/* oklch */ color: oklch(42.7% 0.142 329.3);
Tailwind
colors: {
  custom: {
    50: '#a1699c',
    500: '#772a74',
    950: '#000000',
  },
}
SCSS
$custom: #772a74;
$custom-light: #a1699c;
$custom-dark: #000000;
JSON
{
  "hex": "#772a74",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 302.338,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.14227,
    "h": 329.3
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#772A74
secondary
#54A957
accent
#D75650
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772A74

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

Preview Lab → · Contrast checker → · Palette generator →

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