#781D77#781D77

#781D77 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.162 H 328.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#781D77
RGBrgb(120, 29, 119)
HSLhsl(301, 61%, 29%)
HSVhsv(301, 76%, 47%)
CMYKcmyk(0%, 75.8%, 0.8%, 52.9%)
CIE-LABlab(29.92, 49.46, -30.67)
CIE-LCHlch(29.92, 58.20, 328.20°)
OKLaboklab(41.73% 0.1385 -0.0849)
OKLCHoklch(41.73% 0.162 328.5)
XYZxyz(11.5147, 6.2046, 18.0403)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D77 #1D781E
analogous
#4C1D78 #781D77 #781D4A
triadic
#781D77 #77781D #1D7778
tetradic
#781D77 #784C1D #1D781E #1D4A78
square
#781D77 #784C1D #1D781E #1D4A78
split-complementary
#781D77 #4A781D #1D784C
monochromatic
#190618 #471146 #781D77 #A929A8 #D13FCF

Accessibility & contrast

On white

9.37
#781D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#781D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D77
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D77#FFFFFF#000000##FFFFFF
##781D771.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#364B75
Tritanopia (blue-blind)
#7C2B48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781d77;
/* rgb */ color: rgb(120, 29, 119);
/* oklch */ color: oklch(41.7% 0.162 328.5);
Tailwind
colors: {
  custom: {
    50: '#a2649e',
    500: '#781d77',
    950: '#000000',
  },
}
SCSS
$custom: #781d77;
$custom-light: #a2649e;
$custom-dark: #000000;
JSON
{
  "hex": "#781d77",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 300.659,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.16246,
    "h": 328.5
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#781D77
secondary
#45AC46
accent
#E44544
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D77

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

Preview Lab → · Contrast checker → · Palette generator →

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