#772E7C#772E7C

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

Color values

HEX#772E7C
RGBrgb(119, 46, 124)
HSLhsl(296, 46%, 33%)
HSVhsv(296, 63%, 49%)
CMYKcmyk(4%, 62.9%, 0%, 51.4%)
CIE-LABlab(32.55, 43.10, -29.67)
CIE-LCHlch(32.55, 52.33, 325.46°)
OKLaboklab(43.69% 0.1177 -0.0822)
OKLCHoklch(43.69% 0.144 325.1)
XYZxyz(12.2225, 7.3319, 19.8363)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E7C #337C2E
analogous
#502E7C #772E7C #7C2E5A
triadic
#772E7C #7C772E #2E7C77
tetradic
#772E7C #7C502E #337C2E #2E5A7C
square
#772E7C #7C502E #337C2E #2E5A7C
split-complementary
#772E7C #5A7C2E #2E7C50
monochromatic
#210D23 #4C1D4F #772E7C #A23FA9 #BE60C4

Accessibility & contrast

On white

8.52
#772E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E7C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E7C#FFFFFF#000000##FFFFFF
##772E7C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#3C507A
Tritanopia (blue-blind)
#7A3950
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772e7c;
/* rgb */ color: rgb(119, 46, 124);
/* oklch */ color: oklch(43.7% 0.144 325.1);
Tailwind
colors: {
  custom: {
    50: '#a16ca2',
    500: '#772e7c',
    950: '#000000',
  },
}
SCSS
$custom: #772e7c;
$custom-light: #a16ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#772e7c",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 296.154,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.14358,
    "h": 325.1
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#772E7C
secondary
#60AB5B
accent
#D6525B
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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