#772F7F#772F7F

#772F7F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.145 H 323.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#772F7F
RGBrgb(119, 47, 127)
HSLhsl(294, 46%, 34%)
HSVhsv(294, 63%, 50%)
CMYKcmyk(6.3%, 63%, 0%, 50.2%)
CIE-LABlab(32.89, 43.22, -31.01)
CIE-LCHlch(32.89, 53.19, 324.34°)
OKLaboklab(43.99% 0.1166 -0.0861)
OKLCHoklch(43.99% 0.145 323.6)
XYZxyz(12.4547, 7.4880, 20.8639)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F7F #377F2F
analogous
#4F2F7F #772F7F #7F2F5F
triadic
#772F7F #7F772F #2F7F77
tetradic
#772F7F #7F4F2F #377F2F #2F5F7F
square
#772F7F #7F4F2F #377F2F #2F5F7F
split-complementary
#772F7F #5F7F2F #2F7F4F
monochromatic
#230E26 #4D1E52 #772F7F #A140AC #BB63C5

Accessibility & contrast

On white

8.41
#772F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#772F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F7F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F7F#FFFFFF#000000##FFFFFF
##772F7F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204881
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#793B52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f7f;
/* rgb */ color: rgb(119, 47, 127);
/* oklch */ color: oklch(44.0% 0.145 323.6);
Tailwind
colors: {
  custom: {
    50: '#a16da4',
    500: '#772f7f',
    950: '#000000',
  },
}
SCSS
$custom: #772f7f;
$custom-light: #a16da4;
$custom-dark: #000000;
JSON
{
  "hex": "#772f7f",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 294,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.14493,
    "h": 323.6
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#772F7F
secondary
#65AC5E
accent
#D6525F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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