#781481#781481

#781481 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.179 H 324.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#781481
RGBrgb(120, 20, 129)
HSLhsl(295, 73%, 29%)
HSVhsv(295, 84%, 51%)
CMYKcmyk(7%, 84.5%, 0%, 49.4%)
CIE-LABlab(29.61, 53.94, -37.48)
CIE-LCHlch(29.61, 65.68, 325.21°)
OKLaboklab(41.71% 0.1455 -0.1047)
OKLCHoklch(41.71% 0.179 324.3)
XYZxyz(11.9580, 6.0791, 21.3082)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781481 #1D8114
analogous
#421481 #781481 #811454
triadic
#781481 #817814 #148178
tetradic
#781481 #814214 #1D8114 #145481
square
#781481 #814214 #1D8114 #145481
split-complementary
#781481 #548114 #148142
monochromatic
#19041A #470C4C #781481 #A91CB6 #D130DF

Accessibility & contrast

On white

9.48
#781481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781481
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781481#FFFFFF#000000##FFFFFF
##7814811.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#7A2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781481;
/* rgb */ color: rgb(120, 20, 129);
/* oklch */ color: oklch(41.7% 0.179 324.3);
Tailwind
colors: {
  custom: {
    50: '#a361a6',
    500: '#781481',
    950: '#000000',
  },
}
SCSS
$custom: #781481;
$custom-light: #a361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#781481",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 295.046,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.17927,
    "h": 324.3
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#781481
secondary
#45B63B
accent
#F03847
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #781481

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

Preview Lab → · Contrast checker → · Palette generator →

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