#781A6D#781A6D

#781A6D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 333.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#781A6D
RGBrgb(120, 26, 109)
HSLhsl(307, 64%, 29%)
HSVhsv(307, 78%, 47%)
CMYKcmyk(0%, 78.3%, 9.2%, 52.9%)
CIE-LABlab(29.00, 48.79, -25.76)
CIE-LCHlch(29.00, 55.17, 332.17°)
OKLaboklab(40.88% 0.1411 -0.0707)
OKLCHoklch(40.88% 0.158 333.4)
XYZxyz(10.8755, 5.8369, 15.0189)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A6D #1A7825
analogous
#541A78 #781A6D #781A3E
triadic
#781A6D #6D781A #1A6D78
tetradic
#781A6D #78541A #1A7825 #1A3E78
square
#781A6D #78541A #1A7825 #1A3E78
split-complementary
#781A6D #3E781A #1A7854
monochromatic
#190517 #460F3F #781A6D #AA259B #D438C2

Accessibility & contrast

On white

9.69
#781A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A6D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A6D#FFFFFF#000000##FFFFFF
##781A6D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7E2442
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781a6d;
/* rgb */ color: rgb(120, 26, 109);
/* oklch */ color: oklch(40.9% 0.158 333.4);
Tailwind
colors: {
  custom: {
    50: '#a26297',
    500: '#781a6d',
    950: '#000000',
  },
}
SCSS
$custom: #781a6d;
$custom-light: #a26297;
$custom-dark: #000000;
JSON
{
  "hex": "#781a6d",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 307.021,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.15784,
    "h": 333.4
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#781A6D
secondary
#41AC4E
accent
#E75440
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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