#772F7E#772F7E

#772F7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.144 H 324.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#772F7E
RGBrgb(119, 47, 126)
HSLhsl(295, 46%, 34%)
HSVhsv(295, 63%, 49%)
CMYKcmyk(5.6%, 62.7%, 0%, 50.6%)
CIE-LABlab(32.84, 43.02, -30.47)
CIE-LCHlch(32.84, 52.72, 324.69°)
OKLaboklab(43.93% 0.1166 -0.0845)
OKLCHoklch(43.93% 0.144 324.1)
XYZxyz(12.3898, 7.4620, 20.5223)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F7E #367E2F
analogous
#502F7E #772F7E #7E2F5E
triadic
#772F7E #7E772F #2F7E77
tetradic
#772F7E #7E502F #367E2F #2F5E7E
square
#772F7E #7E502F #367E2F #2F5E7E
split-complementary
#772F7E #5E7E2F #2F7E50
monochromatic
#230E25 #4D1E51 #772F7E #A140AB #BC63C5

Accessibility & contrast

On white

8.43
#772F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772F7E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F7E#FFFFFF#000000##FFFFFF
##772F7E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#793A52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f7e;
/* rgb */ color: rgb(119, 47, 126);
/* oklch */ color: oklch(43.9% 0.144 324.1);
Tailwind
colors: {
  custom: {
    50: '#a16ca4',
    500: '#772f7e',
    950: '#000000',
  },
}
SCSS
$custom: #772f7e;
$custom-light: #a16ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#772f7e",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 294.684,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.14396,
    "h": 324.1
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#772F7E
secondary
#64AC5D
accent
#D5525E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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