#772A85#772A85

#772A85 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.158 H 321.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#772A85
RGBrgb(119, 42, 133)
HSLhsl(291, 52%, 34%)
HSVhsv(291, 68%, 52%)
CMYKcmyk(10.5%, 68.4%, 0%, 47.8%)
CIE-LABlab(32.42, 46.71, -35.50)
CIE-LCHlch(32.42, 58.67, 322.77°)
OKLaboklab(43.76% 0.123 -0.0991)
OKLCHoklch(43.76% 0.158 321.1)
XYZxyz(12.6689, 7.2720, 22.9221)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A85 #38852A
analogous
#4A2A85 #772A85 #852A66
triadic
#772A85 #85772A #2A8577
tetradic
#772A85 #854A2A #38852A #2A6685
square
#772A85 #854A2A #38852A #2A6685
split-complementary
#772A85 #66852A #2A854A
monochromatic
#240D28 #4D1B56 #772A85 #A139B4 #BB5DCC

Accessibility & contrast

On white

8.56
#772A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#772A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A85
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A85#FFFFFF#000000##FFFFFF
##772A851.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#783A54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772a85;
/* rgb */ color: rgb(119, 42, 133);
/* oklch */ color: oklch(43.8% 0.158 321.1);
Tailwind
colors: {
  custom: {
    50: '#a16aa9',
    500: '#772a85',
    950: '#000000',
  },
}
SCSS
$custom: #772a85;
$custom-light: #a16aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#772a85",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 290.769,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.15794,
    "h": 321.1
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#772A85
secondary
#67B259
accent
#DB4C62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A85

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

Preview Lab → · Contrast checker → · Palette generator →

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