#772F8A#772F8A

#772F8A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 318.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#772F8A
RGBrgb(119, 47, 138)
HSLhsl(287, 49%, 36%)
HSVhsv(287, 66%, 54%)
CMYKcmyk(13.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(33.54, 45.46, -36.80)
CIE-LCHlch(33.54, 58.49, 321.01°)
OKLaboklab(44.67% 0.1169 -0.1029)
OKLCHoklch(44.67% 0.156 318.6)
XYZxyz(13.2111, 7.7905, 24.8477)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F8A #428A2F
analogous
#4A2F8A #772F8A #8A2F70
triadic
#772F8A #8A772F #2F8A77
tetradic
#772F8A #8A4A2F #428A2F #2F708A
square
#772F8A #8A4A2F #428A2F #2F708A
split-complementary
#772F8A #708A2F #2F8A4A
monochromatic
#28102F #501F5C #772F8A #9E3FB8 #B768CC

Accessibility & contrast

On white

8.21
#772F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#772F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F8A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F8A#FFFFFF#000000##FFFFFF
##772F8A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#773F58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772f8a;
/* rgb */ color: rgb(119, 47, 138);
/* oklch */ color: oklch(44.7% 0.156 318.6);
Tailwind
colors: {
  custom: {
    50: '#a16dad',
    500: '#772f8a',
    950: '#000000',
  },
}
SCSS
$custom: #772f8a;
$custom-light: #a16dad;
$custom-dark: #000000;
JSON
{
  "hex": "#772f8a",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 287.473,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.15574,
    "h": 318.6
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#772F8A
secondary
#73B362
accent
#D94F6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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