#772A7D#772A7D

#772A7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.150 H 324.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#772A7D
RGBrgb(119, 42, 125)
HSLhsl(296, 50%, 33%)
HSVhsv(296, 66%, 49%)
CMYKcmyk(4.8%, 66.4%, 0%, 51%)
CIE-LABlab(31.94, 45.14, -31.26)
CIE-LCHlch(31.94, 54.91, 325.30°)
OKLaboklab(43.26% 0.1229 -0.0868)
OKLCHoklch(43.26% 0.15 324.8)
XYZxyz(12.1371, 7.0593, 20.1213)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A7D #307D2A
analogous
#4E2A7D #772A7D #7D2A59
triadic
#772A7D #7D772A #2A7D77
tetradic
#772A7D #7D4E2A #307D2A #2A597D
square
#772A7D #7D4E2A #307D2A #2A597D
split-complementary
#772A7D #597D2A #2A7D4E
monochromatic
#200B21 #4B1B4F #772A7D #A339AB #C05AC8

Accessibility & contrast

On white

8.71
#772A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#772A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A7D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A7D#FFFFFF#000000##FFFFFF
##772A7D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#7A3650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772a7d;
/* rgb */ color: rgb(119, 42, 125);
/* oklch */ color: oklch(43.3% 0.150 324.8);
Tailwind
colors: {
  custom: {
    50: '#a16aa3',
    500: '#772a7d',
    950: '#000000',
  },
}
SCSS
$custom: #772a7d;
$custom-light: #a16aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#772a7d",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 295.663,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.15044,
    "h": 324.8
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#772A7D
secondary
#5CAD56
accent
#D94F59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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