#781C6D#781C6D

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

Color values

HEX#781C6D
RGBrgb(120, 28, 109)
HSLhsl(307, 62%, 29%)
HSVhsv(307, 77%, 47%)
CMYKcmyk(0%, 76.7%, 9.2%, 52.9%)
CIE-LABlab(29.23, 48.12, -25.39)
CIE-LCHlch(29.23, 54.40, 332.18°)
OKLaboklab(41.05% 0.1392 -0.0696)
OKLCHoklch(41.05% 0.156 333.4)
XYZxyz(10.9214, 5.9286, 15.0342)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C6D #1C7827
analogous
#551C78 #781C6D #781C3F
triadic
#781C6D #6D781C #1C6D78
tetradic
#781C6D #78551C #1C7827 #1C3F78
square
#781C6D #78551C #1C7827 #1C3F78
split-complementary
#781C6D #3F781C #1C7855
monochromatic
#190617 #461040 #781C6D #AA289A #D23DC0

Accessibility & contrast

On white

9.61
#781C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C6D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C6D#FFFFFF#000000##FFFFFF
##781C6D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6F
Deuteranopia (green-blind)
#3B4A6B
Tritanopia (blue-blind)
#7E2543
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781c6d;
/* rgb */ color: rgb(120, 28, 109);
/* oklch */ color: oklch(41.1% 0.156 333.4);
Tailwind
colors: {
  custom: {
    50: '#a26397',
    500: '#781c6d',
    950: '#000000',
  },
}
SCSS
$custom: #781c6d;
$custom-light: #a26397;
$custom-dark: #000000;
JSON
{
  "hex": "#781c6d",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 307.174,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.15561,
    "h": 333.4
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#781C6D
secondary
#44AC50
accent
#E55643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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