#782A73#782A73

#782A73 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 330.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#782A73
RGBrgb(120, 42, 115)
HSLhsl(304, 48%, 32%)
HSVhsv(304, 65%, 47%)
CMYKcmyk(0%, 65%, 4.2%, 52.9%)
CIE-LABlab(31.55, 43.54, -25.57)
CIE-LCHlch(31.55, 50.49, 329.58°)
OKLaboklab(42.83% 0.1234 -0.0703)
OKLCHoklch(42.83% 0.142 330.3)
XYZxyz(11.6681, 6.8876, 16.9312)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A73 #2A782F
analogous
#562A78 #782A73 #782A4C
triadic
#782A73 #73782A #2A7378
tetradic
#782A73 #78562A #2A782F #2A4C78
square
#782A73 #78562A #2A782F #2A4C78
split-complementary
#782A73 #4C782A #2A7856
monochromatic
#1D0A1C #4B1A48 #782A73 #A53A9E #C558BE

Accessibility & contrast

On white

8.83
#782A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A73
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A73#FFFFFF#000000##FFFFFF
##782A731.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#7D324A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782a73;
/* rgb */ color: rgb(120, 42, 115);
/* oklch */ color: oklch(42.8% 0.142 330.3);
Tailwind
colors: {
  custom: {
    50: '#a16a9b',
    500: '#782a73',
    950: '#000000',
  },
}
SCSS
$custom: #782a73;
$custom-light: #a16a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#782a73",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 303.846,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.14202,
    "h": 330.3
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#782A73
secondary
#54AA5A
accent
#D85950
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782A73

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

Preview Lab → · Contrast checker → · Palette generator →

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