#772371#772371

#772371 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.150 H 330.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#772371
RGBrgb(119, 35, 113)
HSLhsl(304, 55%, 30%)
HSVhsv(304, 71%, 47%)
CMYKcmyk(0%, 70.6%, 5%, 53.3%)
CIE-LABlab(30.20, 45.92, -26.43)
CIE-LCHlch(30.20, 52.98, 330.07°)
OKLaboklab(41.79% 0.1307 -0.0727)
OKLCHoklch(41.79% 0.15 330.9)
XYZxyz(11.1894, 6.3171, 16.2496)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772371 #237729
analogous
#532377 #772371 #772347
triadic
#772371 #717723 #237177
tetradic
#772371 #775323 #237729 #234777
square
#772371 #775323 #237729 #234777
split-complementary
#772371 #477723 #237753
monochromatic
#180717 #481544 #772371 #A6319E #CA4AC1

Accessibility & contrast

On white

9.28
#772371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#772371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772371
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772371#FFFFFF#000000##FFFFFF
##7723711.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#7C2C47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772371;
/* rgb */ color: rgb(119, 35, 113);
/* oklch */ color: oklch(41.8% 0.150 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1669a',
    500: '#772371',
    950: '#000000',
  },
}
SCSS
$custom: #772371;
$custom-light: #a1669a;
$custom-dark: #000000;
JSON
{
  "hex": "#772371",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 304.286,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.14958,
    "h": 330.9
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#772371
secondary
#4CAA53
accent
#DE544A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772371

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

Preview Lab → · Contrast checker → · Palette generator →

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