#781C69#781C69

#781C69 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.153 H 335.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#781C69
RGBrgb(120, 28, 105)
HSLhsl(310, 62%, 29%)
HSVhsv(310, 77%, 47%)
CMYKcmyk(0%, 76.7%, 12.5%, 52.9%)
CIE-LABlab(29.02, 47.47, -23.15)
CIE-LCHlch(29.02, 52.82, 334.00°)
OKLaboklab(40.83% 0.1389 -0.0632)
OKLCHoklch(40.83% 0.153 335.5)
XYZxyz(10.7109, 5.8445, 13.9258)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C69 #1C782B
analogous
#591C78 #781C69 #781C3B
triadic
#781C69 #69781C #1C6978
tetradic
#781C69 #78591C #1C782B #1C3B78
square
#781C69 #78591C #1C782B #1C3B78
split-complementary
#781C69 #3B781C #1C7859
monochromatic
#190616 #46103E #781C69 #AA2894 #D23DB9

Accessibility & contrast

On white

9.68
#781C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C69
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C69#FFFFFF#000000##FFFFFF
##781C691.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6B
Deuteranopia (green-blind)
#3D4967
Tritanopia (blue-blind)
#7E2340
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781c69;
/* rgb */ color: rgb(120, 28, 105);
/* oklch */ color: oklch(40.8% 0.153 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26394',
    500: '#781c69',
    950: '#000000',
  },
}
SCSS
$custom: #781c69;
$custom-light: #a26394;
$custom-dark: #000000;
JSON
{
  "hex": "#781c69",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 309.783,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.15257,
    "h": 335.5
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#781C69
secondary
#44AC55
accent
#E55D43
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781C69

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

Preview Lab → · Contrast checker → · Palette generator →

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