#781680#781680

#781680 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.177 H 324.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#781680
RGBrgb(120, 22, 128)
HSLhsl(295, 71%, 29%)
HSVhsv(295, 83%, 50%)
CMYKcmyk(6.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(29.73, 53.23, -36.66)
CIE-LCHlch(29.73, 64.63, 325.44°)
OKLaboklab(41.77% 0.1442 -0.1023)
OKLCHoklch(41.77% 0.177 324.6)
XYZxyz(11.9286, 6.1262, 20.9721)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781680 #1E8016
analogous
#431680 #781680 #801653
triadic
#781680 #807816 #168078
tetradic
#781680 #804316 #1E8016 #165380
square
#781680 #804316 #1E8016 #165380
split-complementary
#781680 #538016 #168043
monochromatic
#18041A #470D4C #781680 #A91FB4 #CF34DC

Accessibility & contrast

On white

9.44
#781680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781680
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781680#FFFFFF#000000##FFFFFF
##7816801.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#7B2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781680;
/* rgb */ color: rgb(120, 22, 128);
/* oklch */ color: oklch(41.8% 0.177 324.6);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#781680',
    950: '#000000',
  },
}
SCSS
$custom: #781680;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#781680",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 295.472,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.17678,
    "h": 324.6
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#781680
secondary
#46B53D
accent
#ED3A48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #781680

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

Preview Lab → · Contrast checker → · Palette generator →

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