#781B69#781B69

#781B69 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 335.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#781B69
RGBrgb(120, 27, 105)
HSLhsl(310, 63%, 29%)
HSVhsv(310, 78%, 47%)
CMYKcmyk(0%, 77.5%, 12.5%, 52.9%)
CIE-LABlab(28.90, 47.81, -23.34)
CIE-LCHlch(28.90, 53.21, 333.98°)
OKLaboklab(40.74% 0.1399 -0.0637)
OKLCHoklch(40.74% 0.154 335.5)
XYZxyz(10.6876, 5.7978, 13.9181)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B69 #1B782A
analogous
#591B78 #781B69 #781B3B
triadic
#781B69 #69781B #1B6978
tetradic
#781B69 #78591B #1B782A #1B3B78
square
#781B69 #78591B #1B782A #1B3B78
split-complementary
#781B69 #3B781B #1B7859
monochromatic
#190616 #46103D #781B69 #AA2695 #D33BBA

Accessibility & contrast

On white

9.72
#781B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B69
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B69#FFFFFF#000000##FFFFFF
##781B691.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6B
Deuteranopia (green-blind)
#3D4967
Tritanopia (blue-blind)
#7E2240
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781b69;
/* rgb */ color: rgb(120, 27, 105);
/* oklch */ color: oklch(40.7% 0.154 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26294',
    500: '#781b69',
    950: '#000000',
  },
}
SCSS
$custom: #781b69;
$custom-light: #a26294;
$custom-dark: #000000;
JSON
{
  "hex": "#781b69",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 309.677,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.1537,
    "h": 335.5
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#781B69
secondary
#43AC54
accent
#E65C41
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781B69

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

Preview Lab → · Contrast checker → · Palette generator →

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