#781C6F#781C6F

#781C6F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.157 H 332.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#781C6F
RGBrgb(120, 28, 111)
HSLhsl(306, 62%, 29%)
HSVhsv(306, 77%, 47%)
CMYKcmyk(0%, 76.7%, 7.5%, 52.9%)
CIE-LABlab(29.34, 48.45, -26.49)
CIE-LCHlch(29.34, 55.22, 331.33°)
OKLaboklab(41.17% 0.1393 -0.0728)
OKLCHoklch(41.17% 0.157 332.4)
XYZxyz(11.0303, 5.9722, 15.6077)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C6F #1C7825
analogous
#531C78 #781C6F #781C41
triadic
#781C6F #6F781C #1C6F78
tetradic
#781C6F #78531C #1C7825 #1C4178
square
#781C6F #78531C #1C7825 #1C4178
split-complementary
#781C6F #41781C #1C7853
monochromatic
#190617 #461041 #781C6F #AA289D #D23DC3

Accessibility & contrast

On white

9.57
#781C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C6F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C6F#FFFFFF#000000##FFFFFF
##781C6F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#7D2644
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781c6f;
/* rgb */ color: rgb(120, 28, 111);
/* oklch */ color: oklch(41.2% 0.157 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26398',
    500: '#781c6f',
    950: '#000000',
  },
}
SCSS
$custom: #781c6f;
$custom-light: #a26398;
$custom-dark: #000000;
JSON
{
  "hex": "#781c6f",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 305.87,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.15718,
    "h": 332.4
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#781C6F
secondary
#44AC4E
accent
#E55243
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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