#781E6B#781E6B

#781E6B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.152 H 334.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#781E6B
RGBrgb(120, 30, 107)
HSLhsl(309, 60%, 29%)
HSVhsv(309, 75%, 47%)
CMYKcmyk(0%, 75%, 10.8%, 52.9%)
CIE-LABlab(29.37, 47.08, -23.88)
CIE-LCHlch(29.37, 52.79, 333.11°)
OKLaboklab(41.12% 0.1369 -0.0653)
OKLCHoklch(41.12% 0.152 334.5)
XYZxyz(10.8640, 5.9841, 14.4899)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E6B #1E782B
analogous
#581E78 #781E6B #781E3E
triadic
#781E6B #6B781E #1E6B78
tetradic
#781E6B #78581E #1E782B #1E3E78
square
#781E6B #78581E #1E782B #1E3E78
split-complementary
#781E6B #3E781E #1E7858
monochromatic
#180616 #47123F #781E6B #A92A97 #CF41BB

Accessibility & contrast

On white

9.56
#781E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E6B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E6B#FFFFFF#000000##FFFFFF
##781E6B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7E2642
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781e6b;
/* rgb */ color: rgb(120, 30, 107);
/* oklch */ color: oklch(41.1% 0.152 334.5);
Tailwind
colors: {
  custom: {
    50: '#a26395',
    500: '#781e6b',
    950: '#000000',
  },
}
SCSS
$custom: #781e6b;
$custom-light: #a26395;
$custom-dark: #000000;
JSON
{
  "hex": "#781e6b",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 308.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.15172,
    "h": 334.5
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#781E6B
secondary
#46AC55
accent
#E35C45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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