#781972#781972

#781972 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.163 H 330.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#781972
RGBrgb(120, 25, 114)
HSLhsl(304, 66%, 28%)
HSVhsv(304, 79%, 47%)
CMYKcmyk(0%, 79.2%, 5%, 52.9%)
CIE-LABlab(29.17, 49.93, -28.68)
CIE-LCHlch(29.17, 57.58, 330.12°)
OKLaboklab(41.1% 0.1422 -0.0791)
OKLCHoklch(41.1% 0.163 330.9)
XYZxyz(11.1306, 5.9041, 16.4697)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781972 #19781F
analogous
#4E1978 #781972 #781942
triadic
#781972 #727819 #197278
tetradic
#781972 #784E19 #19781F #194278
square
#781972 #784E19 #19781F #194278
split-complementary
#781972 #427819 #19784E
monochromatic
#190518 #450E42 #781972 #AB24A2 #D536CB

Accessibility & contrast

On white

9.63
#781972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781972
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781972#FFFFFF#000000##FFFFFF
##7819721.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C74
Deuteranopia (green-blind)
#384970
Tritanopia (blue-blind)
#7D2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781972;
/* rgb */ color: rgb(120, 25, 114);
/* oklch */ color: oklch(41.1% 0.163 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#781972',
    950: '#000000',
  },
}
SCSS
$custom: #781972;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#781972",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 303.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.16277,
    "h": 330.9
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#781972
secondary
#40AD47
accent
#E84A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781972

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

Preview Lab → · Contrast checker → · Palette generator →

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