#772F7C#772F7C

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

Color values

HEX#772F7C
RGBrgb(119, 47, 124)
HSLhsl(296, 45%, 34%)
HSVhsv(296, 62%, 49%)
CMYKcmyk(4%, 62.1%, 0%, 51.4%)
CIE-LABlab(32.72, 42.63, -29.40)
CIE-LCHlch(32.72, 51.78, 325.41°)
OKLaboklab(43.81% 0.1164 -0.0814)
OKLCHoklch(43.81% 0.142 325)
XYZxyz(12.2621, 7.4109, 19.8495)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F7C #347C2F
analogous
#502F7C #772F7C #7C2F5A
triadic
#772F7C #7C772F #2F7C77
tetradic
#772F7C #7C502F #347C2F #2F5A7C
square
#772F7C #7C502F #347C2F #2F5A7C
split-complementary
#772F7C #5A7C2F #2F7C50
monochromatic
#220D23 #4C1E50 #772F7C #A240A8 #BD62C3

Accessibility & contrast

On white

8.46
#772F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772F7C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F7C#FFFFFF#000000##FFFFFF
##772F7C1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#7A3A51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f7c;
/* rgb */ color: rgb(119, 47, 124);
/* oklch */ color: oklch(43.8% 0.142 325.0);
Tailwind
colors: {
  custom: {
    50: '#a16ca2',
    500: '#772f7c',
    950: '#000000',
  },
}
SCSS
$custom: #772f7c;
$custom-light: #a16ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#772f7c",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 296.104,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.14205,
    "h": 325
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#772F7C
secondary
#61AA5C
accent
#D5535B
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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