#781A6E#781A6E

#781A6E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.159 H 332.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#781A6E
RGBrgb(120, 26, 110)
HSLhsl(306, 64%, 29%)
HSVhsv(306, 78%, 47%)
CMYKcmyk(0%, 78.3%, 8.3%, 52.9%)
CIE-LABlab(29.05, 48.95, -26.31)
CIE-LCHlch(29.05, 55.57, 331.74°)
OKLaboklab(40.94% 0.1412 -0.0723)
OKLCHoklch(40.94% 0.159 332.9)
XYZxyz(10.9297, 5.8586, 15.3040)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A6E #1A7824
analogous
#531A78 #781A6E #781A3F
triadic
#781A6E #6E781A #1A6E78
tetradic
#781A6E #78531A #1A7824 #1A3F78
square
#781A6E #78531A #1A7824 #1A3F78
split-complementary
#781A6E #3F781A #1A7853
monochromatic
#190517 #460F40 #781A6E #AA259C #D438C3

Accessibility & contrast

On white

9.67
#781A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A6E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A6E#FFFFFF#000000##FFFFFF
##781A6E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7E2443
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781a6e;
/* rgb */ color: rgb(120, 26, 110);
/* oklch */ color: oklch(40.9% 0.159 332.9);
Tailwind
colors: {
  custom: {
    50: '#a26298',
    500: '#781a6e',
    950: '#000000',
  },
}
SCSS
$custom: #781a6e;
$custom-light: #a26298;
$custom-dark: #000000;
JSON
{
  "hex": "#781a6e",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 306.383,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.15861,
    "h": 332.9
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#781A6E
secondary
#41AC4D
accent
#E75240
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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