#772E7D#772E7D

#772E7D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.145 H 324.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#772E7D
RGBrgb(119, 46, 125)
HSLhsl(295, 46%, 34%)
HSVhsv(295, 63%, 49%)
CMYKcmyk(4.8%, 63.2%, 0%, 51%)
CIE-LABlab(32.61, 43.30, -30.21)
CIE-LCHlch(32.61, 52.79, 325.10°)
OKLaboklab(43.75% 0.1178 -0.0837)
OKLCHoklch(43.75% 0.145 324.6)
XYZxyz(12.2861, 7.3573, 20.1710)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E7D #347D2E
analogous
#4F2E7D #772E7D #7D2E5B
triadic
#772E7D #7D772E #2E7D77
tetradic
#772E7D #7D4F2E #347D2E #2E5B7D
square
#772E7D #7D4F2E #347D2E #2E5B7D
split-complementary
#772E7D #5B7D2E #2E7D4F
monochromatic
#220D24 #4C1E50 #772E7D #A23EAA #BD61C5

Accessibility & contrast

On white

8.50
#772E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E7D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E7D#FFFFFF#000000##FFFFFF
##772E7D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#793951
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772e7d;
/* rgb */ color: rgb(119, 46, 125);
/* oklch */ color: oklch(43.7% 0.145 324.6);
Tailwind
colors: {
  custom: {
    50: '#a16ca3',
    500: '#772e7d',
    950: '#000000',
  },
}
SCSS
$custom: #772e7d;
$custom-light: #a16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#772e7d",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 295.443,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.14453,
    "h": 324.6
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#772E7D
secondary
#61AB5B
accent
#D6525C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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