#781672#781672

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

Color values

HEX#781672
RGBrgb(120, 22, 114)
HSLhsl(304, 69%, 28%)
HSVhsv(304, 82%, 47%)
CMYKcmyk(0%, 81.7%, 5%, 52.9%)
CIE-LABlab(28.86, 50.83, -29.18)
CIE-LCHlch(28.86, 58.61, 330.14°)
OKLaboklab(40.88% 0.1448 -0.0805)
OKLCHoklch(40.88% 0.166 330.9)
XYZxyz(11.0699, 5.7827, 16.4495)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781672 #16781C
analogous
#4D1678 #781672 #781641
triadic
#781672 #727816 #167278
tetradic
#781672 #784D16 #16781C #164178
square
#781672 #784D16 #16781C #164178
split-complementary
#781672 #417816 #16784D
monochromatic
#1A0519 #440D41 #781672 #AC1FA3 #D92FCF

Accessibility & contrast

On white

9.74
#781672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781672
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781672#FFFFFF#000000##FFFFFF
##7816721.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C74
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#7D2444
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781672;
/* rgb */ color: rgb(120, 22, 114);
/* oklch */ color: oklch(40.9% 0.166 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2619b',
    500: '#781672',
    950: '#000000',
  },
}
SCSS
$custom: #781672;
$custom-light: #a2619b;
$custom-dark: #000000;
JSON
{
  "hex": "#781672",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 303.673,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.16573,
    "h": 330.9
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#781672
secondary
#3CAD43
accent
#EC473C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781672

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

Preview Lab → · Contrast checker → · Palette generator →

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