#772872#772872

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

Color values

HEX#772872
RGBrgb(119, 40, 114)
HSLhsl(304, 50%, 31%)
HSVhsv(304, 66%, 47%)
CMYKcmyk(0%, 66.4%, 4.2%, 53.3%)
CIE-LABlab(31.01, 43.98, -25.79)
CIE-LCHlch(31.01, 50.99, 329.61°)
OKLaboklab(42.39% 0.1247 -0.0709)
OKLCHoklch(42.39% 0.143 330.4)
XYZxyz(11.4037, 6.6552, 16.6003)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772872 #28772D
analogous
#542877 #772872 #77284A
triadic
#772872 #727728 #287277
tetradic
#772872 #775428 #28772D #284A77
square
#772872 #775428 #28772D #284A77
split-complementary
#772872 #4A7728 #287754
monochromatic
#1B091A #491946 #772872 #A5379E #C554BE

Accessibility & contrast

On white

9.01
#772872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#772872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772872
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772872#FFFFFF#000000##FFFFFF
##7728721.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772872;
/* rgb */ color: rgb(119, 40, 114);
/* oklch */ color: oklch(42.4% 0.143 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1689b',
    500: '#772872',
    950: '#000000',
  },
}
SCSS
$custom: #772872;
$custom-light: #a1689b;
$custom-dark: #000000;
JSON
{
  "hex": "#772872",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 303.797,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.14347,
    "h": 330.4
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#772872
secondary
#52A957
accent
#D9574F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772872

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

Preview Lab → · Contrast checker → · Palette generator →

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