#771972#771972

#771972 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.162 H 330.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#771972
RGBrgb(119, 25, 114)
HSLhsl(303, 65%, 28%)
HSVhsv(303, 79%, 47%)
CMYKcmyk(0%, 79%, 4.2%, 53.3%)
CIE-LABlab(28.99, 49.70, -28.98)
CIE-LCHlch(28.99, 57.53, 329.75°)
OKLaboklab(40.93% 0.1411 -0.08)
OKLCHoklch(40.93% 0.162 330.4)
XYZxyz(10.9926, 5.8330, 16.4632)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771972 #19771E
analogous
#4D1977 #771972 #771943
triadic
#771972 #727719 #197277
tetradic
#771972 #774D19 #19771E #194377
square
#771972 #774D19 #19771E #194377
split-complementary
#771972 #437719 #19774D
monochromatic
#190518 #440E42 #771972 #AA24A2 #D536CC

Accessibility & contrast

On white

9.69
#771972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771972
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771972#FFFFFF#000000##FFFFFF
##7719721.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7C2645
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771972;
/* rgb */ color: rgb(119, 25, 114);
/* oklch */ color: oklch(40.9% 0.162 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#771972',
    950: '#000000',
  },
}
SCSS
$custom: #771972;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#771972",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 303.191,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.16225,
    "h": 330.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#771972
secondary
#40AC46
accent
#E84940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771972

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

Preview Lab → · Contrast checker → · Palette generator →

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