#781A6A#781A6A

#781A6A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.156 H 335.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#781A6A
RGBrgb(120, 26, 106)
HSLhsl(309, 64%, 29%)
HSVhsv(309, 78%, 47%)
CMYKcmyk(0%, 78.3%, 11.7%, 52.9%)
CIE-LABlab(28.83, 48.31, -24.08)
CIE-LCHlch(28.83, 53.98, 333.50°)
OKLaboklab(40.71% 0.1409 -0.0659)
OKLCHoklch(40.71% 0.156 335)
XYZxyz(10.7168, 5.7734, 14.1828)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A6A #1A7828
analogous
#571A78 #781A6A #781A3B
triadic
#781A6A #6A781A #1A6A78
tetradic
#781A6A #78571A #1A7828 #1A3B78
square
#781A6A #78571A #1A7828 #1A3B78
split-complementary
#781A6A #3B781A #1A7857
monochromatic
#190516 #460F3E #781A6A #AA2596 #D438BD

Accessibility & contrast

On white

9.75
#781A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A6A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A6A#FFFFFF#000000##FFFFFF
##781A6A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#7E2240
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781a6a;
/* rgb */ color: rgb(120, 26, 106);
/* oklch */ color: oklch(40.7% 0.156 335.0);
Tailwind
colors: {
  custom: {
    50: '#a26295',
    500: '#781a6a',
    950: '#000000',
  },
}
SCSS
$custom: #781a6a;
$custom-light: #a26295;
$custom-dark: #000000;
JSON
{
  "hex": "#781a6a",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 308.936,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.15557,
    "h": 335
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#781A6A
secondary
#41AC51
accent
#E75940
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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