#772D7E#772D7E

#772D7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.147 H 324.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#772D7E
RGBrgb(119, 45, 126)
HSLhsl(295, 47%, 34%)
HSVhsv(295, 64%, 49%)
CMYKcmyk(5.6%, 64.3%, 0%, 50.6%)
CIE-LABlab(32.49, 43.96, -31.01)
CIE-LCHlch(32.49, 53.80, 324.80°)
OKLaboklab(43.68% 0.1192 -0.0861)
OKLCHoklch(43.68% 0.147 324.2)
XYZxyz(12.3117, 7.3058, 20.4963)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D7E #347E2D
analogous
#4E2D7E #772D7E #7E2D5C
triadic
#772D7E #7E772D #2D7E77
tetradic
#772D7E #7E4E2D #347E2D #2D5C7E
square
#772D7E #7E4E2D #347E2D #2D5C7E
split-complementary
#772D7E #5C7E2D #2D7E4E
monochromatic
#220D24 #4C1D51 #772D7E #A23DAB #BD5FC6

Accessibility & contrast

On white

8.53
#772D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#772D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D7E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D7E#FFFFFF#000000##FFFFFF
##772D7E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#3A507C
Tritanopia (blue-blind)
#793951
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772d7e;
/* rgb */ color: rgb(119, 45, 126);
/* oklch */ color: oklch(43.7% 0.147 324.2);
Tailwind
colors: {
  custom: {
    50: '#a16ba4',
    500: '#772d7e',
    950: '#000000',
  },
}
SCSS
$custom: #772d7e;
$custom-light: #a16ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#772d7e",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 294.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.14699,
    "h": 324.2
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#772D7E
secondary
#61AC5A
accent
#D7515C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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