#781E6E#781E6E

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

Color values

HEX#781E6E
RGBrgb(120, 30, 110)
HSLhsl(307, 60%, 29%)
HSVhsv(307, 75%, 47%)
CMYKcmyk(0%, 75%, 8.3%, 52.9%)
CIE-LABlab(29.53, 47.58, -25.55)
CIE-LCHlch(29.53, 54.00, 331.76°)
OKLaboklab(41.29% 0.1372 -0.0701)
OKLCHoklch(41.29% 0.154 332.9)
XYZxyz(11.0245, 6.0483, 15.3356)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E6E #1E7828
analogous
#551E78 #781E6E #781E41
triadic
#781E6E #6E781E #1E6E78
tetradic
#781E6E #78551E #1E7828 #1E4178
square
#781E6E #78551E #1E7828 #1E4178
split-complementary
#781E6E #41781E #1E7855
monochromatic
#180616 #471241 #781E6E #A92A9B #CF41C0

Accessibility & contrast

On white

9.50
#781E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E6E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E6E#FFFFFF#000000##FFFFFF
##781E6E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#3C4A6C
Tritanopia (blue-blind)
#7E2744
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781e6e;
/* rgb */ color: rgb(120, 30, 110);
/* oklch */ color: oklch(41.3% 0.154 332.9);
Tailwind
colors: {
  custom: {
    50: '#a26498',
    500: '#781e6e',
    950: '#000000',
  },
}
SCSS
$custom: #781e6e;
$custom-light: #a26498;
$custom-dark: #000000;
JSON
{
  "hex": "#781e6e",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 306.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.15406,
    "h": 332.9
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#781E6E
secondary
#46AC51
accent
#E35645
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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