#781B70#781B70

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

Color values

HEX#781B70
RGBrgb(120, 27, 112)
HSLhsl(305, 63%, 29%)
HSVhsv(305, 78%, 47%)
CMYKcmyk(0%, 77.5%, 6.7%, 52.9%)
CIE-LABlab(29.28, 48.95, -27.23)
CIE-LCHlch(29.28, 56.01, 330.91°)
OKLaboklab(41.14% 0.1403 -0.0749)
OKLCHoklch(41.14% 0.159 331.9)
XYZxyz(11.0623, 5.9477, 15.8915)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B70 #1B7823
analogous
#521B78 #781B70 #781B42
triadic
#781B70 #70781B #1B7078
tetradic
#781B70 #78521B #1B7823 #1B4278
square
#781B70 #78521B #1B7823 #1B4278
split-complementary
#781B70 #42781B #1B7852
monochromatic
#190617 #461041 #781B70 #AA269F #D33BC6

Accessibility & contrast

On white

9.59
#781B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B70
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B70#FFFFFF#000000##FFFFFF
##781B701.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#394A6E
Tritanopia (blue-blind)
#7D2644
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781b70;
/* rgb */ color: rgb(120, 27, 112);
/* oklch */ color: oklch(41.1% 0.159 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26299',
    500: '#781b70',
    950: '#000000',
  },
}
SCSS
$custom: #781b70;
$custom-light: #a26299;
$custom-dark: #000000;
JSON
{
  "hex": "#781b70",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 305.161,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.15908,
    "h": 331.9
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#781B70
secondary
#43AC4C
accent
#E65041
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781B70

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

Preview Lab → · Contrast checker → · Palette generator →

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