#772A6E#772A6E

#772A6E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.137 H 332.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#772A6E
RGBrgb(119, 42, 110)
HSLhsl(307, 48%, 32%)
HSVhsv(307, 65%, 47%)
CMYKcmyk(0%, 64.7%, 7.6%, 53.3%)
CIE-LABlab(31.12, 42.37, -23.07)
CIE-LCHlch(31.12, 48.25, 331.44°)
OKLaboklab(42.41% 0.1217 -0.0631)
OKLCHoklch(42.41% 0.137 332.6)
XYZxyz(11.2502, 6.7045, 15.4504)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A6E #2A7733
analogous
#5A2A77 #772A6E #772A48
triadic
#772A6E #6E772A #2A6E77
tetradic
#772A6E #775A2A #2A7733 #2A4877
square
#772A6E #775A2A #2A7733 #2A4877
split-complementary
#772A6E #48772A #2A775A
monochromatic
#1D0A1A #4A1A44 #772A6E #A43A98 #C458B7

Accessibility & contrast

On white

8.97
#772A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A6E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A6E#FFFFFF#000000##FFFFFF
##772A6E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#7C3048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772a6e;
/* rgb */ color: rgb(119, 42, 110);
/* oklch */ color: oklch(42.4% 0.137 332.6);
Tailwind
colors: {
  custom: {
    50: '#a16998',
    500: '#772a6e',
    950: '#000000',
  },
}
SCSS
$custom: #772a6e;
$custom-light: #a16998;
$custom-dark: #000000;
JSON
{
  "hex": "#772a6e",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 307.013,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.13705,
    "h": 332.6
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#772A6E
secondary
#54A95E
accent
#D76050
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #772A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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