#781A69#781A69

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

Color values

HEX#781A69
RGBrgb(120, 26, 105)
HSLhsl(310, 64%, 29%)
HSVhsv(310, 78%, 47%)
CMYKcmyk(0%, 78.3%, 12.5%, 52.9%)
CIE-LABlab(28.78, 48.15, -23.52)
CIE-LCHlch(28.78, 53.59, 333.96°)
OKLaboklab(40.66% 0.1409 -0.0642)
OKLCHoklch(40.66% 0.155 335.5)
XYZxyz(10.6651, 5.7527, 13.9106)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A69 #1A7829
analogous
#581A78 #781A69 #781A3A
triadic
#781A69 #69781A #1A6978
tetradic
#781A69 #78581A #1A7829 #1A3A78
square
#781A69 #78581A #1A7829 #1A3A78
split-complementary
#781A69 #3A781A #1A7858
monochromatic
#190516 #460F3D #781A69 #AA2595 #D438BB

Accessibility & contrast

On white

9.77
#781A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A69
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A69#FFFFFF#000000##FFFFFF
##781A691.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6B
Deuteranopia (green-blind)
#3C4967
Tritanopia (blue-blind)
#7E2240
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781a69;
/* rgb */ color: rgb(120, 26, 105);
/* oklch */ color: oklch(40.7% 0.155 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26294',
    500: '#781a69',
    950: '#000000',
  },
}
SCSS
$custom: #781a69;
$custom-light: #a26294;
$custom-dark: #000000;
JSON
{
  "hex": "#781a69",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 309.574,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.15482,
    "h": 335.5
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#781A69
secondary
#41AC52
accent
#E75B40
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781A69

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

Preview Lab → · Contrast checker → · Palette generator →

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