#772F7D#772F7D

#772F7D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.143 H 324.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#772F7D
RGBrgb(119, 47, 125)
HSLhsl(295, 45%, 34%)
HSVhsv(295, 62%, 49%)
CMYKcmyk(4.8%, 62.4%, 0%, 51%)
CIE-LABlab(32.78, 42.82, -29.93)
CIE-LCHlch(32.78, 52.25, 325.05°)
OKLaboklab(43.87% 0.1165 -0.0829)
OKLCHoklch(43.87% 0.143 324.5)
XYZxyz(12.3256, 7.4363, 20.1842)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F7D #357D2F
analogous
#502F7D #772F7D #7D2F5C
triadic
#772F7D #7D772F #2F7D77
tetradic
#772F7D #7D502F #357D2F #2F5C7D
square
#772F7D #7D502F #357D2F #2F5C7D
split-complementary
#772F7D #5C7D2F #2F7D50
monochromatic
#220E24 #4D1E51 #772F7D #A140A9 #BD62C4

Accessibility & contrast

On white

8.44
#772F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#772F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F7D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F7D#FFFFFF#000000##FFFFFF
##772F7D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#793A51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f7d;
/* rgb */ color: rgb(119, 47, 125);
/* oklch */ color: oklch(43.9% 0.143 324.5);
Tailwind
colors: {
  custom: {
    50: '#a16ca3',
    500: '#772f7d',
    950: '#000000',
  },
}
SCSS
$custom: #772f7d;
$custom-light: #a16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#772f7d",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 295.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.14301,
    "h": 324.5
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#772F7D
secondary
#63AB5D
accent
#D5535D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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