#772E8A#772E8A

#772E8A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.157 H 318.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#772E8A
RGBrgb(119, 46, 138)
HSLhsl(288, 50%, 36%)
HSVhsv(288, 67%, 54%)
CMYKcmyk(13.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(33.37, 45.92, -37.07)
CIE-LCHlch(33.37, 59.02, 321.09°)
OKLaboklab(44.55% 0.1181 -0.1037)
OKLCHoklch(44.55% 0.157 318.7)
XYZxyz(13.1716, 7.7115, 24.8345)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E8A #418A2E
analogous
#492E8A #772E8A #8A2E6F
triadic
#772E8A #8A772E #2E8A77
tetradic
#772E8A #8A492E #418A2E #2E6F8A
square
#772E8A #8A492E #418A2E #2E6F8A
split-complementary
#772E8A #6F8A2E #2E8A49
monochromatic
#280F2E #4F1F5C #772E8A #9F3DB8 #B766CC

Accessibility & contrast

On white

8.26
#772E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E8A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E8A#FFFFFF#000000##FFFFFF
##772E8A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#773E58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772e8a;
/* rgb */ color: rgb(119, 46, 138);
/* oklch */ color: oklch(44.5% 0.157 318.7);
Tailwind
colors: {
  custom: {
    50: '#a16cad',
    500: '#772e8a',
    950: '#000000',
  },
}
SCSS
$custom: #772e8a;
$custom-light: #a16cad;
$custom-dark: #000000;
JSON
{
  "hex": "#772e8a",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 287.609,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4455,
    "c": 0.15717,
    "h": 318.7
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#772E8A
secondary
#72B361
accent
#DA4E6B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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