#772972#772972

#772972 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 330.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#772972
RGBrgb(119, 41, 114)
HSLhsl(304, 49%, 31%)
HSVhsv(304, 66%, 47%)
CMYKcmyk(0%, 65.5%, 4.2%, 53.3%)
CIE-LABlab(31.17, 43.54, -25.54)
CIE-LCHlch(31.17, 50.48, 329.60°)
OKLaboklab(42.51% 0.1234 -0.0702)
OKLCHoklch(42.51% 0.142 330.4)
XYZxyz(11.4379, 6.7235, 16.6117)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772972 #29772E
analogous
#552977 #772972 #77294B
triadic
#772972 #727729 #297277
tetradic
#772972 #775529 #29772E #294B77
square
#772972 #775529 #29772E #294B77
split-complementary
#772972 #4B7729 #297755
monochromatic
#1C0A1B #491946 #772972 #A5399E #C556BE

Accessibility & contrast

On white

8.96
#772972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772972
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772972#FFFFFF#000000##FFFFFF
##7729721.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#7C3149
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772972;
/* rgb */ color: rgb(119, 41, 114);
/* oklch */ color: oklch(42.5% 0.142 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1699b',
    500: '#772972',
    950: '#000000',
  },
}
SCSS
$custom: #772972;
$custom-light: #a1699b;
$custom-dark: #000000;
JSON
{
  "hex": "#772972",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 303.846,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42506,
    "c": 0.142,
    "h": 330.4
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#772972
secondary
#53A958
accent
#D8584F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772972

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

Preview Lab → · Contrast checker → · Palette generator →

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