#781381#781381

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

Color values

HEX#781381
RGBrgb(120, 19, 129)
HSLhsl(295, 74%, 29%)
HSVhsv(295, 85%, 51%)
CMYKcmyk(7%, 85.3%, 0%, 49.4%)
CIE-LABlab(29.52, 54.19, -37.61)
CIE-LCHlch(29.52, 65.97, 325.24°)
OKLaboklab(41.65% 0.1462 -0.1051)
OKLCHoklch(41.65% 0.18 324.3)
XYZxyz(11.9407, 6.0446, 21.3024)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781381 #1C8113
analogous
#411381 #781381 #811353
triadic
#781381 #817813 #138178
tetradic
#781381 #814113 #1C8113 #135381
square
#781381 #814113 #1C8113 #135381
split-complementary
#781381 #538113 #138141
monochromatic
#19041B #460B4C #781381 #AA1BB6 #D22EE0

Accessibility & contrast

On white

9.51
#781381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781381
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781381#FFFFFF#000000##FFFFFF
##7813811.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781381;
/* rgb */ color: rgb(120, 19, 129);
/* oklch */ color: oklch(41.7% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a361a6',
    500: '#781381',
    950: '#000000',
  },
}
SCSS
$custom: #781381;
$custom-light: #a361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#781381",
  "rgb": {
    "r": 120,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 295.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.18006,
    "h": 324.3
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#781381
secondary
#44B63A
accent
#F13746
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #781381

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

Preview Lab → · Contrast checker → · Palette generator →

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