#781D81#781D81

#781D81 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#781D81
RGBrgb(120, 29, 129)
HSLhsl(295, 63%, 31%)
HSVhsv(295, 78%, 51%)
CMYKcmyk(7%, 77.5%, 0%, 49.4%)
CIE-LABlab(30.54, 51.26, -35.99)
CIE-LCHlch(30.54, 62.63, 324.92°)
OKLaboklab(42.37% 0.1382 -0.1004)
OKLCHoklch(42.37% 0.171 324)
XYZxyz(12.1472, 6.4575, 21.3712)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D81 #26811D
analogous
#461D81 #781D81 #811D58
triadic
#781D81 #81781D #1D8178
tetradic
#781D81 #81461D #26811D #1D5881
square
#781D81 #81461D #26811D #1D5881
split-complementary
#781D81 #58811D #1D8146
monochromatic
#1B071D #4A124F #781D81 #A628B3 #C844D5

Accessibility & contrast

On white

9.16
#781D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#781D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D81
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D81#FFFFFF#000000##FFFFFF
##781D811.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#304B7F
Tritanopia (blue-blind)
#7A304E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781d81;
/* rgb */ color: rgb(120, 29, 129);
/* oklch */ color: oklch(42.4% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a264a6',
    500: '#781d81',
    950: '#000000',
  },
}
SCSS
$custom: #781d81;
$custom-light: #a264a6;
$custom-dark: #000000;
JSON
{
  "hex": "#781d81",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 294.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.1708,
    "h": 324
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#781D81
secondary
#50B446
accent
#E64150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781D81

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

Preview Lab → · Contrast checker → · Palette generator →

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