#772A8A#772A8A

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

Color values

HEX#772A8A
RGBrgb(119, 42, 138)
HSLhsl(288, 53%, 35%)
HSVhsv(288, 70%, 54%)
CMYKcmyk(13.8%, 69.6%, 0%, 45.9%)
CIE-LABlab(32.73, 47.72, -38.10)
CIE-LCHlch(32.73, 61.06, 321.40°)
OKLaboklab(44.09% 0.1229 -0.1067)
OKLCHoklch(44.09% 0.163 319)
XYZxyz(13.0226, 7.4134, 24.7848)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A8A #3D8A2A
analogous
#472A8A #772A8A #8A2A6D
triadic
#772A8A #8A772A #2A8A77
tetradic
#772A8A #8A472A #3D8A2A #2A6D8A
square
#772A8A #8A472A #3D8A2A #2A6D8A
split-complementary
#772A8A #6D8A2A #2A8A47
monochromatic
#260D2C #4F1C5B #772A8A #9F38B9 #B960CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772A8A#FFFFFF#000000##FFFFFF
##772A8A1.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)
#01488D
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#773C56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772a8a;
/* rgb */ color: rgb(119, 42, 138);
/* oklch */ color: oklch(44.1% 0.163 319.0);
Tailwind
colors: {
  custom: {
    50: '#a16aad',
    500: '#772a8a',
    950: '#000000',
  },
}
SCSS
$custom: #772a8a;
$custom-light: #a16aad;
$custom-dark: #000000;
JSON
{
  "hex": "#772a8a",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 288.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.16271,
    "h": 319
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#772A8A
secondary
#6DB45B
accent
#DD4B68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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