#772F71#772F71

#772F71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.132 H 330.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#772F71
RGBrgb(119, 47, 113)
HSLhsl(305, 43%, 33%)
HSVhsv(305, 61%, 47%)
CMYKcmyk(0%, 60.5%, 5%, 53.3%)
CIE-LABlab(32.14, 40.54, -23.38)
CIE-LCHlch(32.14, 46.80, 330.02°)
OKLaboklab(43.2% 0.1152 -0.0641)
OKLCHoklch(43.2% 0.132 330.9)
XYZxyz(11.6048, 7.1480, 16.3881)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F71 #2F7735
analogous
#592F77 #772F71 #772F4D
triadic
#772F71 #71772F #2F7177
tetradic
#772F71 #77592F #2F7735 #2F4D77
square
#772F71 #77592F #2F7735 #2F4D77
split-complementary
#772F71 #4D772F #2F7759
monochromatic
#1F0C1E #4B1E47 #772F71 #A3409B #C060B8

Accessibility & contrast

On white

8.64
#772F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#772F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F71
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F71#FFFFFF#000000##FFFFFF
##772F711.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7C364B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772f71;
/* rgb */ color: rgb(119, 47, 113);
/* oklch */ color: oklch(43.2% 0.132 330.9);
Tailwind
colors: {
  custom: {
    50: '#a06c9a',
    500: '#772f71',
    950: '#000000',
  },
}
SCSS
$custom: #772f71;
$custom-light: #a06c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#772f71",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 305,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43198,
    "c": 0.13184,
    "h": 330.9
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#772F71
secondary
#5BA761
accent
#D35F55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772F71

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

Preview Lab → · Contrast checker → · Palette generator →

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