#772E7E#772E7E

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

Color values

HEX#772E7E
RGBrgb(119, 46, 126)
HSLhsl(295, 47%, 34%)
HSVhsv(295, 63%, 49%)
CMYKcmyk(5.6%, 63.5%, 0%, 50.6%)
CIE-LABlab(32.66, 43.49, -30.74)
CIE-LCHlch(32.66, 53.26, 324.75°)
OKLaboklab(43.81% 0.1179 -0.0853)
OKLCHoklch(43.81% 0.145 324.1)
XYZxyz(12.3503, 7.3830, 20.5092)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E7E #357E2E
analogous
#4F2E7E #772E7E #7E2E5D
triadic
#772E7E #7E772E #2E7E77
tetradic
#772E7E #7E4F2E #357E2E #2E5D7E
square
#772E7E #7E4F2E #357E2E #2E5D7E
split-complementary
#772E7E #5D7E2E #2E7E4F
monochromatic
#220D24 #4D1E51 #772E7E #A13EAB #BD61C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772E7E#FFFFFF#000000##FFFFFF
##772E7E1.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)
#204780
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#793A51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772e7e;
/* rgb */ color: rgb(119, 46, 126);
/* oklch */ color: oklch(43.8% 0.145 324.1);
Tailwind
colors: {
  custom: {
    50: '#a16ca4',
    500: '#772e7e',
    950: '#000000',
  },
}
SCSS
$custom: #772e7e;
$custom-light: #a16ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#772e7e",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 294.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.14549,
    "h": 324.1
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#772E7E
secondary
#63AC5C
accent
#D6525D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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