#781D70#781D70

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

Color values

HEX#781D70
RGBrgb(120, 29, 112)
HSLhsl(305, 61%, 29%)
HSVhsv(305, 76%, 47%)
CMYKcmyk(0%, 75.8%, 6.7%, 52.9%)
CIE-LABlab(29.52, 48.26, -26.85)
CIE-LCHlch(29.52, 55.23, 330.91°)
OKLaboklab(41.31% 0.1383 -0.0739)
OKLCHoklch(41.31% 0.157 331.9)
XYZxyz(11.1097, 6.0426, 15.9073)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D70 #1D7825
analogous
#531D78 #781D70 #781D43
triadic
#781D70 #70781D #1D7078
tetradic
#781D70 #78531D #1D7825 #1D4378
square
#781D70 #78531D #1D7825 #1D4378
split-complementary
#781D70 #43781D #1D7853
monochromatic
#190617 #471142 #781D70 #A9299E #D13FC4

Accessibility & contrast

On white

9.51
#781D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D70
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D70#FFFFFF#000000##FFFFFF
##781D701.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781d70;
/* rgb */ color: rgb(120, 29, 112);
/* oklch */ color: oklch(41.3% 0.157 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26399',
    500: '#781d70',
    950: '#000000',
  },
}
SCSS
$custom: #781d70;
$custom-light: #a26399;
$custom-dark: #000000;
JSON
{
  "hex": "#781d70",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 305.275,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.15681,
    "h": 331.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#781D70
secondary
#45AC4E
accent
#E45244
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D70

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

Preview Lab → · Contrast checker → · Palette generator →

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