#772072#772072

#772072 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.154 H 330.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#772072
RGBrgb(119, 32, 114)
HSLhsl(303, 58%, 30%)
HSVhsv(303, 73%, 47%)
CMYKcmyk(0%, 73.1%, 4.2%, 53.3%)
CIE-LABlab(29.84, 47.27, -27.64)
CIE-LCHlch(29.84, 54.75, 329.68°)
OKLaboklab(41.54% 0.1341 -0.0762)
OKLCHoklch(41.54% 0.154 330.4)
XYZxyz(11.1615, 6.1707, 16.5195)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772072 #207725
analogous
#512077 #772072 #772047
triadic
#772072 #727720 #207277
tetradic
#772072 #775120 #207725 #204777
square
#772072 #775120 #207725 #204777
split-complementary
#772072 #477720 #207751
monochromatic
#180617 #471344 #772072 #A72DA0 #CD45C5

Accessibility & contrast

On white

9.40
#772072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#772072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772072
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772072#FFFFFF#000000##FFFFFF
##7720721.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#3A4A70
Tritanopia (blue-blind)
#7C2B46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #772072;
/* rgb */ color: rgb(119, 32, 114);
/* oklch */ color: oklch(41.5% 0.154 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1659b',
    500: '#772072',
    950: '#000000',
  },
}
SCSS
$custom: #772072;
$custom-light: #a1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#772072",
  "rgb": {
    "r": 119,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 303.448,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.15426,
    "h": 330.4
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#772072
secondary
#48AA4E
accent
#E15047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772072

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

Preview Lab → · Contrast checker → · Palette generator →

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