#772997#772997

#772997 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.177 H 314.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#772997
RGBrgb(119, 41, 151)
HSLhsl(283, 57%, 38%)
HSVhsv(283, 73%, 59%)
CMYKcmyk(21.2%, 72.8%, 0%, 40.8%)
CIE-LABlab(33.44, 50.86, -44.94)
CIE-LCHlch(33.44, 67.87, 318.54°)
OKLaboklab(44.87% 0.1229 -0.1267)
OKLCHoklch(44.87% 0.177 314.1)
XYZxyz(13.9857, 7.7426, 30.0299)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772997 #499729
analogous
#402997 #772997 #972980
triadic
#772997 #977729 #299777
tetradic
#772997 #974029 #499729 #298097
square
#772997 #974029 #499729 #298097
split-complementary
#772997 #809729 #299740
monochromatic
#2B0F37 #511C67 #772997 #9D36C7 #B565D5

Accessibility & contrast

On white

8.24
#772997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772997
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772997#FFFFFF#000000##FFFFFF
##7729971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#74405D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772997;
/* rgb */ color: rgb(119, 41, 151);
/* oklch */ color: oklch(44.9% 0.177 314.1);
Tailwind
colors: {
  custom: {
    50: '#a26ab6',
    500: '#772997',
    950: '#000000',
  },
}
SCSS
$custom: #772997;
$custom-light: #a26ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#772997",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 282.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.17654,
    "h": 314.1
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#772997
secondary
#7BBB61
accent
#E14774
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772997

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

Preview Lab → · Contrast checker → · Palette generator →

#772997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva