#782B79#782B79

#782B79 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#782B79
RGBrgb(120, 43, 121)
HSLhsl(299, 48%, 32%)
HSVhsv(299, 64%, 47%)
CMYKcmyk(0.8%, 64.5%, 0%, 52.5%)
CIE-LABlab(32.04, 44.19, -28.59)
CIE-LCHlch(32.04, 52.63, 327.10°)
OKLaboklab(43.29% 0.1227 -0.079)
OKLCHoklch(43.29% 0.146 327.2)
XYZxyz(12.0606, 7.1021, 18.8210)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B79 #2C792B
analogous
#512B79 #782B79 #792B53
triadic
#782B79 #79782B #2B7978
tetradic
#782B79 #79512B #2C792B #2B5379
square
#782B79 #79512B #2C792B #2B5379
split-complementary
#782B79 #53792B #2B7951
monochromatic
#1E0B1F #4B1B4C #782B79 #A53BA6 #C35AC4

Accessibility & contrast

On white

8.68
#782B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B79
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B79#FFFFFF#000000##FFFFFF
##782B791.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#7B354E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782b79;
/* rgb */ color: rgb(120, 43, 121);
/* oklch */ color: oklch(43.3% 0.146 327.2);
Tailwind
colors: {
  custom: {
    50: '#a26aa0',
    500: '#782b79',
    950: '#000000',
  },
}
SCSS
$custom: #782b79;
$custom-light: #a26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#782b79",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 299.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.14588,
    "h": 327.2
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#782B79
secondary
#57AA56
accent
#D75152
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782B79

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

Preview Lab → · Contrast checker → · Palette generator →

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