#781C71#781C71

#781C71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.159 H 331.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#781C71
RGBrgb(120, 28, 113)
HSLhsl(305, 62%, 29%)
HSVhsv(305, 77%, 47%)
CMYKcmyk(0%, 76.7%, 5.8%, 52.9%)
CIE-LABlab(29.45, 48.78, -27.59)
CIE-LCHlch(29.45, 56.04, 330.50°)
OKLaboklab(41.28% 0.1394 -0.076)
OKLCHoklch(41.28% 0.159 331.4)
XYZxyz(11.1416, 6.0167, 16.1941)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C71 #1C7823
analogous
#511C78 #781C71 #781C43
triadic
#781C71 #71781C #1C7178
tetradic
#781C71 #78511C #1C7823 #1C4378
square
#781C71 #78511C #1C7823 #1C4378
split-complementary
#781C71 #43781C #1C7851
monochromatic
#190617 #461042 #781C71 #AA28A0 #D23DC6

Accessibility & contrast

On white

9.53
#781C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#781C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C71
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C71#FFFFFF#000000##FFFFFF
##781C711.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#7D2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781c71;
/* rgb */ color: rgb(120, 28, 113);
/* oklch */ color: oklch(41.3% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#a2639a',
    500: '#781c71',
    950: '#000000',
  },
}
SCSS
$custom: #781c71;
$custom-light: #a2639a;
$custom-dark: #000000;
JSON
{
  "hex": "#781c71",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 304.565,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.15875,
    "h": 331.4
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#781C71
secondary
#44AC4C
accent
#E54F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C71

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

Preview Lab → · Contrast checker → · Palette generator →

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