#772F7B#772F7B

#772F7B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.141 H 325.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#772F7B
RGBrgb(119, 47, 123)
HSLhsl(297, 45%, 33%)
HSVhsv(297, 62%, 48%)
CMYKcmyk(3.3%, 61.8%, 0%, 51.8%)
CIE-LABlab(32.67, 42.43, -28.86)
CIE-LCHlch(32.67, 51.31, 325.78°)
OKLaboklab(43.76% 0.1163 -0.0798)
OKLCHoklch(43.76% 0.141 325.5)
XYZxyz(12.1991, 7.3857, 19.5181)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F7B #337B2F
analogous
#512F7B #772F7B #7B2F59
triadic
#772F7B #7B772F #2F7B77
tetradic
#772F7B #7B512F #337B2F #2F597B
square
#772F7B #7B512F #337B2F #2F597B
split-complementary
#772F7B #597B2F #2F7B51
monochromatic
#210D22 #4C1E4F #772F7B #A240A7 #BE62C3

Accessibility & contrast

On white

8.48
#772F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#772F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F7B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F7B#FFFFFF#000000##FFFFFF
##772F7B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#7A3950
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f7b;
/* rgb */ color: rgb(119, 47, 123);
/* oklch */ color: oklch(43.8% 0.141 325.5);
Tailwind
colors: {
  custom: {
    50: '#a16ca1',
    500: '#772f7b',
    950: '#000000',
  },
}
SCSS
$custom: #772f7b;
$custom-light: #a16ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#772f7b",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 296.842,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.1411,
    "h": 325.5
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#772F7B
secondary
#60AA5C
accent
#D4535A
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #772F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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