#781E70#781E70

#781E70 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.156 H 331.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#781E70
RGBrgb(120, 30, 112)
HSLhsl(305, 60%, 29%)
HSVhsv(305, 75%, 47%)
CMYKcmyk(0%, 75%, 6.7%, 52.9%)
CIE-LABlab(29.64, 47.91, -26.66)
CIE-LCHlch(29.64, 54.83, 330.91°)
OKLaboklab(41.4% 0.1373 -0.0733)
OKLCHoklch(41.4% 0.156 331.9)
XYZxyz(11.1346, 6.0924, 15.9156)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E70 #1E7826
analogous
#531E78 #781E70 #781E43
triadic
#781E70 #70781E #1E7078
tetradic
#781E70 #78531E #1E7826 #1E4378
square
#781E70 #78531E #1E7826 #1E4378
split-complementary
#781E70 #43781E #1E7853
monochromatic
#180617 #471242 #781E70 #A92A9E #CF41C3

Accessibility & contrast

On white

9.47
#781E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E70
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E70#FFFFFF#000000##FFFFFF
##781E701.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#3B4A6E
Tritanopia (blue-blind)
#7D2845
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781e70;
/* rgb */ color: rgb(120, 30, 112);
/* oklch */ color: oklch(41.4% 0.156 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26499',
    500: '#781e70',
    950: '#000000',
  },
}
SCSS
$custom: #781e70;
$custom-light: #a26499;
$custom-dark: #000000;
JSON
{
  "hex": "#781e70",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 305.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.15564,
    "h": 331.9
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#781E70
secondary
#46AC4F
accent
#E35345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781E70

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

Preview Lab → · Contrast checker → · Palette generator →

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