#781A75#781A75

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

Color values

HEX#781A75
RGBrgb(120, 26, 117)
HSLhsl(302, 64%, 29%)
HSVhsv(302, 78%, 47%)
CMYKcmyk(0%, 78.3%, 2.5%, 52.9%)
CIE-LABlab(29.46, 50.12, -30.14)
CIE-LCHlch(29.46, 58.48, 328.98°)
OKLaboklab(41.36% 0.1414 -0.0834)
OKLCHoklch(41.36% 0.164 329.5)
XYZxyz(11.3259, 6.0171, 17.3911)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A75 #1A781D
analogous
#4C1A78 #781A75 #781A46
triadic
#781A75 #75781A #1A7578
tetradic
#781A75 #784C1A #1A781D #1A4678
square
#781A75 #784C1A #1A781D #1A4678
split-complementary
#781A75 #46781A #1A784C
monochromatic
#190519 #460F44 #781A75 #AA25A6 #D438CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A75#FFFFFF#000000##FFFFFF
##781A751.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)
#0A3D77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#7C2846
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781a75;
/* rgb */ color: rgb(120, 26, 117);
/* oklch */ color: oklch(41.4% 0.164 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2629d',
    500: '#781a75',
    950: '#000000',
  },
}
SCSS
$custom: #781a75;
$custom-light: #a2629d;
$custom-dark: #000000;
JSON
{
  "hex": "#781a75",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 301.915,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.1641,
    "h": 329.5
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#781A75
secondary
#41AC45
accent
#E74640
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A75

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

Preview Lab → · Contrast checker → · Palette generator →

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