#781681#781681

#781681 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.178 H 324.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#781681
RGBrgb(120, 22, 129)
HSLhsl(295, 71%, 30%)
HSVhsv(295, 83%, 51%)
CMYKcmyk(7%, 82.9%, 0%, 49.4%)
CIE-LABlab(29.79, 53.41, -37.18)
CIE-LCHlch(29.79, 65.08, 325.15°)
OKLaboklab(41.84% 0.1441 -0.1038)
OKLCHoklch(41.84% 0.178 324.2)
XYZxyz(11.9948, 6.1526, 21.3204)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781681 #1F8116
analogous
#421681 #781681 #811655
triadic
#781681 #817816 #168178
tetradic
#781681 #814216 #1F8116 #165581
square
#781681 #814216 #1F8116 #165581
split-complementary
#781681 #558116 #168142
monochromatic
#18041A #470D4D #781681 #A91FB5 #CE35DD

Accessibility & contrast

On white

9.42
#781681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781681
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781681#FFFFFF#000000##FFFFFF
##7816811.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#7A2C4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781681;
/* rgb */ color: rgb(120, 22, 129);
/* oklch */ color: oklch(41.8% 0.178 324.2);
Tailwind
colors: {
  custom: {
    50: '#a361a6',
    500: '#781681',
    950: '#000000',
  },
}
SCSS
$custom: #781681;
$custom-light: #a361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#781681",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 294.953,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.17758,
    "h": 324.2
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#781681
secondary
#47B63D
accent
#EE3A49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #781681

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

Preview Lab → · Contrast checker → · Palette generator →

#781681 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva