#772971#772971

#772971 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.141 H 330.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#772971
RGBrgb(119, 41, 113)
HSLhsl(305, 49%, 31%)
HSVhsv(305, 66%, 47%)
CMYKcmyk(0%, 65.5%, 5%, 53.3%)
CIE-LABlab(31.12, 43.36, -24.99)
CIE-LCHlch(31.12, 50.05, 330.04°)
OKLaboklab(42.45% 0.1233 -0.0686)
OKLCHoklch(42.45% 0.141 330.9)
XYZxyz(11.3813, 6.7009, 16.3135)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772971 #29772F
analogous
#562977 #772971 #77294A
triadic
#772971 #717729 #297177
tetradic
#772971 #775629 #29772F #294A77
square
#772971 #775629 #29772F #294A77
split-complementary
#772971 #4A7729 #297756
monochromatic
#1C0A1B #491946 #772971 #A5399C #C556BC

Accessibility & contrast

On white

8.97
#772971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772971
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772971#FFFFFF#000000##FFFFFF
##7729711.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772971;
/* rgb */ color: rgb(119, 41, 113);
/* oklch */ color: oklch(42.4% 0.141 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1699a',
    500: '#772971',
    950: '#000000',
  },
}
SCSS
$custom: #772971;
$custom-light: #a1699a;
$custom-dark: #000000;
JSON
{
  "hex": "#772971",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 304.615,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.14113,
    "h": 330.9
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#772971
secondary
#53A95A
accent
#D85A4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772971

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

Preview Lab → · Contrast checker → · Palette generator →

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