#772F8D#772F8D

#772F8D is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 317.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#772F8D
RGBrgb(119, 47, 141)
HSLhsl(286, 50%, 37%)
HSVhsv(286, 67%, 55%)
CMYKcmyk(15.6%, 66.7%, 0%, 44.7%)
CIE-LABlab(33.73, 46.09, -38.35)
CIE-LCHlch(33.73, 59.96, 320.23°)
OKLaboklab(44.87% 0.1168 -0.1075)
OKLCHoklch(44.87% 0.159 317.4)
XYZxyz(13.4313, 7.8786, 26.0074)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F8D #458D2F
analogous
#482F8D #772F8D #8D2F74
triadic
#772F8D #8D772F #2F8D77
tetradic
#772F8D #8D482F #458D2F #2F748D
square
#772F8D #8D482F #458D2F #2F748D
split-complementary
#772F8D #748D2F #2F8D48
monochromatic
#2A1031 #50205F #772F8D #9E3EBB #B669CD

Accessibility & contrast

On white

8.15
#772F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#772F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F8D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F8D#FFFFFF#000000##FFFFFF
##772F8D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#76405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772f8d;
/* rgb */ color: rgb(119, 47, 141);
/* oklch */ color: oklch(44.9% 0.159 317.4);
Tailwind
colors: {
  custom: {
    50: '#a16daf',
    500: '#772f8d',
    950: '#000000',
  },
}
SCSS
$custom: #772f8d;
$custom-light: #a16daf;
$custom-dark: #000000;
JSON
{
  "hex": "#772f8d",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 285.957,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.15873,
    "h": 317.4
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#772F8D
secondary
#76B464
accent
#DA4E6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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