#781A79#781A79

#781A79 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.167 H 327.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#781A79
RGBrgb(120, 26, 121)
HSLhsl(299, 65%, 29%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(0.8%, 78.5%, 0%, 52.5%)
CIE-LABlab(29.70, 50.81, -32.30)
CIE-LCHlch(29.70, 60.20, 327.56°)
OKLaboklab(41.61% 0.1413 -0.0896)
OKLCHoklch(41.61% 0.167 327.6)
XYZxyz(11.5662, 6.1132, 18.6562)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A79 #1B791A
analogous
#491A79 #781A79 #791A4B
triadic
#781A79 #79781A #1A7978
tetradic
#781A79 #79491A #1B791A #1A4B79
square
#781A79 #79491A #1B791A #1A4B79
split-complementary
#781A79 #4B791A #1A7949
monochromatic
#190519 #460F47 #781A79 #AA25AB #D339D4

Accessibility & contrast

On white

9.45
#781A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A79
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A79#FFFFFF#000000##FFFFFF
##781A791.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7C
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#7C2A49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781a79;
/* rgb */ color: rgb(120, 26, 121);
/* oklch */ color: oklch(41.6% 0.167 327.6);
Tailwind
colors: {
  custom: {
    50: '#a263a0',
    500: '#781a79',
    950: '#000000',
  },
}
SCSS
$custom: #781a79;
$custom-light: #a263a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781a79",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 299.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.16732,
    "h": 327.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#781A79
secondary
#43AD41
accent
#E84042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781A79

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

Preview Lab → · Contrast checker → · Palette generator →

#781A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva