#782A72#782A72

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

Color values

HEX#782A72
RGBrgb(120, 42, 114)
HSLhsl(305, 48%, 32%)
HSVhsv(305, 65%, 47%)
CMYKcmyk(0%, 65%, 5%, 52.9%)
CIE-LABlab(31.50, 43.36, -25.02)
CIE-LCHlch(31.50, 50.06, 330.02°)
OKLaboklab(42.78% 0.1233 -0.0687)
OKLCHoklch(42.78% 0.141 330.9)
XYZxyz(11.6109, 6.8647, 16.6298)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A72 #2A7830
analogous
#572A78 #782A72 #782A4B
triadic
#782A72 #72782A #2A7278
tetradic
#782A72 #78572A #2A7830 #2A4B78
square
#782A72 #78572A #2A7830 #2A4B78
split-complementary
#782A72 #4B782A #2A7857
monochromatic
#1D0A1C #4B1A47 #782A72 #A53A9D #C558BC

Accessibility & contrast

On white

8.85
#782A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#782A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A72
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A72#FFFFFF#000000##FFFFFF
##782A721.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#7D324A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782a72;
/* rgb */ color: rgb(120, 42, 114);
/* oklch */ color: oklch(42.8% 0.141 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1699b',
    500: '#782a72',
    950: '#000000',
  },
}
SCSS
$custom: #782a72;
$custom-light: #a1699b;
$custom-dark: #000000;
JSON
{
  "hex": "#782a72",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 304.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.14115,
    "h": 330.9
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#782A72
secondary
#54AA5B
accent
#D85B50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782A72

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

Preview Lab → · Contrast checker → · Palette generator →

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