#772F89#772F89

#772F89 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.155 H 319.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#772F89
RGBrgb(119, 47, 137)
HSLhsl(288, 49%, 36%)
HSVhsv(288, 66%, 54%)
CMYKcmyk(13.1%, 65.7%, 0%, 46.3%)
CIE-LABlab(33.48, 45.25, -36.28)
CIE-LCHlch(33.48, 58.00, 321.28°)
OKLaboklab(44.61% 0.1169 -0.1014)
OKLCHoklch(44.61% 0.155 319)
XYZxyz(13.1390, 7.7617, 24.4681)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F89 #41892F
analogous
#4A2F89 #772F89 #892F6E
triadic
#772F89 #89772F #2F8977
tetradic
#772F89 #894A2F #41892F #2F6E89
square
#772F89 #894A2F #41892F #2F6E89
split-complementary
#772F89 #6E892F #2F894A
monochromatic
#28102E #4F1F5B #772F89 #9F3FB7 #B767CB

Accessibility & contrast

On white

8.23
#772F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F89
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F89#FFFFFF#000000##FFFFFF
##772F891.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#773E58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772f89;
/* rgb */ color: rgb(119, 47, 137);
/* oklch */ color: oklch(44.6% 0.155 319.0);
Tailwind
colors: {
  custom: {
    50: '#a16dac',
    500: '#772f89',
    950: '#000000',
  },
}
SCSS
$custom: #772f89;
$custom-light: #a16dac;
$custom-dark: #000000;
JSON
{
  "hex": "#772f89",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 288,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.15474,
    "h": 319
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#772F89
secondary
#72B262
accent
#D84F6B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772F89

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

Preview Lab → · Contrast checker → · Palette generator →

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