#772873#772873

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

Color values

HEX#772873
RGBrgb(119, 40, 115)
HSLhsl(303, 50%, 31%)
HSVhsv(303, 66%, 47%)
CMYKcmyk(0%, 66.4%, 3.4%, 53.3%)
CIE-LABlab(31.06, 44.16, -26.34)
CIE-LCHlch(31.06, 51.42, 329.18°)
OKLaboklab(42.45% 0.1248 -0.0725)
OKLCHoklch(42.45% 0.144 329.8)
XYZxyz(11.4610, 6.6781, 16.9017)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772873 #28772C
analogous
#532877 #772873 #77284B
triadic
#772873 #737728 #287377
tetradic
#772873 #775328 #28772C #284B77
square
#772873 #775328 #28772C #284B77
split-complementary
#772873 #4B7728 #287753
monochromatic
#1B091A #491947 #772873 #A5379F #C554C0

Accessibility & contrast

On white

8.99
#772873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772873
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772873#FFFFFF#000000##FFFFFF
##7728731.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#7B314A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772873;
/* rgb */ color: rgb(119, 40, 115);
/* oklch */ color: oklch(42.4% 0.144 329.8);
Tailwind
colors: {
  custom: {
    50: '#a1689b',
    500: '#772873',
    950: '#000000',
  },
}
SCSS
$custom: #772873;
$custom-light: #a1689b;
$custom-dark: #000000;
JSON
{
  "hex": "#772873",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 303.038,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.14434,
    "h": 329.8
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#772873
secondary
#52A956
accent
#D9564F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772873

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

Preview Lab → · Contrast checker → · Palette generator →

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