#781C6E#781C6E

#781C6E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.156 H 332.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#781C6E
RGBrgb(120, 28, 110)
HSLhsl(307, 62%, 29%)
HSVhsv(307, 77%, 47%)
CMYKcmyk(0%, 76.7%, 8.3%, 52.9%)
CIE-LABlab(29.29, 48.28, -25.94)
CIE-LCHlch(29.29, 54.81, 331.75°)
OKLaboklab(41.11% 0.1392 -0.0712)
OKLCHoklch(41.11% 0.156 332.9)
XYZxyz(10.9755, 5.9503, 15.3193)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C6E #1C7826
analogous
#541C78 #781C6E #781C40
triadic
#781C6E #6E781C #1C6E78
tetradic
#781C6E #78541C #1C7826 #1C4078
square
#781C6E #78541C #1C7826 #1C4078
split-complementary
#781C6E #40781C #1C7854
monochromatic
#190617 #461041 #781C6E #AA289B #D23DC1

Accessibility & contrast

On white

9.59
#781C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C6E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C6E#FFFFFF#000000##FFFFFF
##781C6E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#7E2643
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781c6e;
/* rgb */ color: rgb(120, 28, 110);
/* oklch */ color: oklch(41.1% 0.156 332.9);
Tailwind
colors: {
  custom: {
    50: '#a26398',
    500: '#781c6e',
    950: '#000000',
  },
}
SCSS
$custom: #781c6e;
$custom-light: #a26398;
$custom-dark: #000000;
JSON
{
  "hex": "#781c6e",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 306.522,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.1564,
    "h": 332.9
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#781C6E
secondary
#44AC4F
accent
#E55443
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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