#781C70#781C70

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

Color values

HEX#781C70
RGBrgb(120, 28, 112)
HSLhsl(305, 62%, 29%)
HSVhsv(305, 77%, 47%)
CMYKcmyk(0%, 76.7%, 6.7%, 52.9%)
CIE-LABlab(29.40, 48.61, -27.05)
CIE-LCHlch(29.40, 55.63, 330.91°)
OKLaboklab(41.23% 0.1393 -0.0744)
OKLCHoklch(41.23% 0.158 331.9)
XYZxyz(11.0856, 5.9943, 15.8993)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C70 #1C7824
analogous
#521C78 #781C70 #781C42
triadic
#781C70 #70781C #1C7078
tetradic
#781C70 #78521C #1C7824 #1C4278
square
#781C70 #78521C #1C7824 #1C4278
split-complementary
#781C70 #42781C #1C7852
monochromatic
#190617 #461042 #781C70 #AA289E #D23DC5

Accessibility & contrast

On white

9.55
#781C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C70
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C70#FFFFFF#000000##FFFFFF
##781C701.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#7D2744
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781c70;
/* rgb */ color: rgb(120, 28, 112);
/* oklch */ color: oklch(41.2% 0.158 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26399',
    500: '#781c70',
    950: '#000000',
  },
}
SCSS
$custom: #781c70;
$custom-light: #a26399;
$custom-dark: #000000;
JSON
{
  "hex": "#781c70",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 305.217,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.15796,
    "h": 331.9
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#781C70
secondary
#44AC4D
accent
#E55143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C70

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

Preview Lab → · Contrast checker → · Palette generator →

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