#782C71#782C71

#782C71 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.137 H 331.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#782C71
RGBrgb(120, 44, 113)
HSLhsl(306, 46%, 32%)
HSVhsv(306, 63%, 47%)
CMYKcmyk(0%, 63.3%, 5.8%, 52.9%)
CIE-LABlab(31.78, 42.26, -23.94)
CIE-LCHlch(31.78, 48.57, 330.47°)
OKLaboklab(42.97% 0.1206 -0.0656)
OKLCHoklch(42.97% 0.137 331.4)
XYZxyz(11.6270, 6.9875, 16.3559)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C71 #2C7833
analogous
#592C78 #782C71 #782C4B
triadic
#782C71 #71782C #2C7178
tetradic
#782C71 #78592C #2C7833 #2C4B78
square
#782C71 #78592C #2C7833 #2C4B78
split-complementary
#782C71 #4B782C #2C7859
monochromatic
#1E0B1D #4B1C47 #782C71 #A53C9B #C35BB9

Accessibility & contrast

On white

8.76
#782C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#782C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782C71
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C71#FFFFFF#000000##FFFFFF
##782C711.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#7D334A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782c71;
/* rgb */ color: rgb(120, 44, 113);
/* oklch */ color: oklch(43.0% 0.137 331.4);
Tailwind
colors: {
  custom: {
    50: '#a16b9a',
    500: '#782c71',
    950: '#000000',
  },
}
SCSS
$custom: #782c71;
$custom-light: #a16b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#782c71",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 305.526,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.13724,
    "h": 331.4
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#782C71
secondary
#57A95E
accent
#D65E52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782C71

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

Preview Lab → · Contrast checker → · Palette generator →

#782C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva