#781A70#781A70

#781A70 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.160 H 331.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#781A70
RGBrgb(120, 26, 112)
HSLhsl(305, 64%, 29%)
HSVhsv(305, 78%, 47%)
CMYKcmyk(0%, 78.3%, 6.7%, 52.9%)
CIE-LABlab(29.17, 49.28, -27.41)
CIE-LCHlch(29.17, 56.39, 330.91°)
OKLaboklab(41.06% 0.1413 -0.0754)
OKLCHoklch(41.06% 0.16 331.9)
XYZxyz(11.0398, 5.9026, 15.8840)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A70 #1A7822
analogous
#511A78 #781A70 #781A41
triadic
#781A70 #70781A #1A7078
tetradic
#781A70 #78511A #1A7822 #1A4178
square
#781A70 #78511A #1A7822 #1A4178
split-complementary
#781A70 #41781A #1A7851
monochromatic
#190517 #460F41 #781A70 #AA259F #D438C7

Accessibility & contrast

On white

9.63
#781A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A70
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A70#FFFFFF#000000##FFFFFF
##781A701.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#7D2544
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781a70;
/* rgb */ color: rgb(120, 26, 112);
/* oklch */ color: oklch(41.1% 0.160 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26299',
    500: '#781a70',
    950: '#000000',
  },
}
SCSS
$custom: #781a70;
$custom-light: #a26299;
$custom-dark: #000000;
JSON
{
  "hex": "#781a70",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 305.106,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.16016,
    "h": 331.9
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#781A70
secondary
#41AC4A
accent
#E74F40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A70

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

Preview Lab → · Contrast checker → · Palette generator →

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