#772D8D#772D8D

#772D8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.162 H 317.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#772D8D
RGBrgb(119, 45, 141)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 68%, 55%)
CMYKcmyk(15.6%, 68.1%, 0%, 44.7%)
CIE-LABlab(33.40, 47.01, -38.88)
CIE-LCHlch(33.40, 61.00, 320.40°)
OKLaboklab(44.63% 0.1192 -0.109)
OKLCHoklch(44.63% 0.162 317.6)
XYZxyz(13.3532, 7.7224, 25.9813)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D8D #438D2D
analogous
#472D8D #772D8D #8D2D73
triadic
#772D8D #8D772D #2D8D77
tetradic
#772D8D #8D472D #438D2D #2D738D
square
#772D8D #8D472D #438D2D #2D738D
split-complementary
#772D8D #738D2D #2D8D47
monochromatic
#290F30 #501E5F #772D8D #9E3CBB #B666CE

Accessibility & contrast

On white

8.25
#772D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772D8D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D8D#FFFFFF#000000##FFFFFF
##772D8D1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A90
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#763F59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772d8d;
/* rgb */ color: rgb(119, 45, 141);
/* oklch */ color: oklch(44.6% 0.162 317.6);
Tailwind
colors: {
  custom: {
    50: '#a16caf',
    500: '#772d8d',
    950: '#000000',
  },
}
SCSS
$custom: #772d8d;
$custom-light: #a16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#772d8d",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 286.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.16154,
    "h": 317.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#772D8D
secondary
#74B561
accent
#DB4D6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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