#772B6E#772B6E

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

Color values

HEX#772B6E
RGBrgb(119, 43, 110)
HSLhsl(307, 47%, 32%)
HSVhsv(307, 64%, 47%)
CMYKcmyk(0%, 63.9%, 7.6%, 53.3%)
CIE-LABlab(31.29, 41.91, -22.81)
CIE-LCHlch(31.29, 47.71, 331.45°)
OKLaboklab(42.53% 0.1203 -0.0624)
OKLCHoklch(42.53% 0.136 332.6)
XYZxyz(11.2861, 6.7763, 15.4624)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B6E #2B7734
analogous
#5A2B77 #772B6E #772B48
triadic
#772B6E #6E772B #2B6E77
tetradic
#772B6E #775A2B #2B7734 #2B4877
square
#772B6E #775A2B #2B7734 #2B4877
split-complementary
#772B6E #48772B #2B775A
monochromatic
#1D0B1B #4A1B44 #772B6E #A43B98 #C359B7

Accessibility & contrast

On white

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

On black

2.36
#772B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##772B6E#FFFFFF#000000##FFFFFF
##772B6E1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#414E6C
Tritanopia (blue-blind)
#7C3148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772b6e;
/* rgb */ color: rgb(119, 43, 110);
/* oklch */ color: oklch(42.5% 0.136 332.6);
Tailwind
colors: {
  custom: {
    50: '#a16a98',
    500: '#772b6e',
    950: '#000000',
  },
}
SCSS
$custom: #772b6e;
$custom-light: #a16a98;
$custom-dark: #000000;
JSON
{
  "hex": "#772b6e",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 307.105,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.13552,
    "h": 332.6
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#772B6E
secondary
#55A95F
accent
#D76151
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #772B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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