#772A7E#772A7E

#772A7E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.151 H 324.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#772A7E
RGBrgb(119, 42, 126)
HSLhsl(295, 50%, 33%)
HSVhsv(295, 67%, 49%)
CMYKcmyk(5.6%, 66.7%, 0%, 50.6%)
CIE-LABlab(32.00, 45.33, -31.80)
CIE-LCHlch(32.00, 55.37, 324.96°)
OKLaboklab(43.33% 0.1229 -0.0883)
OKLCHoklch(43.33% 0.151 324.3)
XYZxyz(12.2013, 7.0849, 20.4595)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A7E #317E2A
analogous
#4D2A7E #772A7E #7E2A5B
triadic
#772A7E #7E772A #2A7E77
tetradic
#772A7E #7E4D2A #317E2A #2A5B7E
square
#772A7E #7E4D2A #317E2A #2A5B7E
split-complementary
#772A7E #5B7E2A #2A7E4D
monochromatic
#200B22 #4C1B50 #772A7E #A239AC #BF5AC8

Accessibility & contrast

On white

8.69
#772A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#772A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A7E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A7E#FFFFFF#000000##FFFFFF
##772A7E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#793750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772a7e;
/* rgb */ color: rgb(119, 42, 126);
/* oklch */ color: oklch(43.3% 0.151 324.3);
Tailwind
colors: {
  custom: {
    50: '#a16aa4',
    500: '#772a7e',
    950: '#000000',
  },
}
SCSS
$custom: #772a7e;
$custom-light: #a16aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#772a7e",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 295,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.15137,
    "h": 324.3
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#772A7E
secondary
#5DAE56
accent
#DA4E5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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