#781E6A#781E6A

#781E6A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.151 H 335.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#781E6A
RGBrgb(120, 30, 106)
HSLhsl(309, 60%, 29%)
HSVhsv(309, 75%, 47%)
CMYKcmyk(0%, 75%, 11.7%, 52.9%)
CIE-LABlab(29.32, 46.92, -23.32)
CIE-LCHlch(29.32, 52.40, 333.57°)
OKLaboklab(41.06% 0.1369 -0.0637)
OKLCHoklch(41.06% 0.151 335)
XYZxyz(10.8116, 5.9632, 14.2145)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E6A #1E782C
analogous
#591E78 #781E6A #781E3D
triadic
#781E6A #6A781E #1E6A78
tetradic
#781E6A #78591E #1E782C #1E3D78
square
#781E6A #78591E #1E782C #1E3D78
split-complementary
#781E6A #3D781E #1E7859
monochromatic
#180616 #47123F #781E6A #A92A95 #CF41B9

Accessibility & contrast

On white

9.58
#781E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E6A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E6A#FFFFFF#000000##FFFFFF
##781E6A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#3D4A68
Tritanopia (blue-blind)
#7E2541
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781e6a;
/* rgb */ color: rgb(120, 30, 106);
/* oklch */ color: oklch(41.1% 0.151 335.0);
Tailwind
colors: {
  custom: {
    50: '#a26395',
    500: '#781e6a',
    950: '#000000',
  },
}
SCSS
$custom: #781e6a;
$custom-light: #a26395;
$custom-dark: #000000;
JSON
{
  "hex": "#781e6a",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 309.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.15095,
    "h": 335
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#781E6A
secondary
#46AC56
accent
#E35D45
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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