#781A78#781A78

#781A78 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 328.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#781A78
RGBrgb(120, 26, 120)
HSLhsl(300, 64%, 29%)
HSVhsv(300, 78%, 47%)
CMYKcmyk(0%, 78.3%, 0%, 52.9%)
CIE-LABlab(29.64, 50.63, -31.76)
CIE-LCHlch(29.64, 59.77, 327.90°)
OKLaboklab(41.55% 0.1413 -0.0881)
OKLCHoklch(41.55% 0.167 328.1)
XYZxyz(11.5051, 6.0888, 18.3349)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A78 #1A781A
analogous
#491A78 #781A78 #781A49
triadic
#781A78 #78781A #1A7878
tetradic
#781A78 #78491A #1A781A #1A4978
square
#781A78 #78491A #1A781A #1A4978
split-complementary
#781A78 #49781A #1A7849
monochromatic
#190519 #460F46 #781A78 #AA25AA #D438D4

Accessibility & contrast

On white

9.47
#781A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A78
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A78#FFFFFF#000000##FFFFFF
##781A781.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7B
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#7C2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781a78;
/* rgb */ color: rgb(120, 26, 120);
/* oklch */ color: oklch(41.5% 0.167 328.1);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#781a78',
    950: '#000000',
  },
}
SCSS
$custom: #781a78;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#781a78",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.1665,
    "h": 328.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#781A78
secondary
#41AC41
accent
#E74040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A78

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

Preview Lab → · Contrast checker → · Palette generator →

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