#781780#781780

#781780 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.176 H 324.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#781780
RGBrgb(120, 23, 128)
HSLhsl(295, 70%, 30%)
HSVhsv(295, 82%, 50%)
CMYKcmyk(6.3%, 82%, 0%, 49.8%)
CIE-LABlab(29.83, 52.95, -36.50)
CIE-LCHlch(29.83, 64.31, 325.42°)
OKLaboklab(41.84% 0.1434 -0.1019)
OKLCHoklch(41.84% 0.176 324.6)
XYZxyz(11.9481, 6.1652, 20.9786)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781780 #1F8017
analogous
#441780 #781780 #801753
triadic
#781780 #807817 #178078
tetradic
#781780 #804417 #1F8017 #175380
square
#781780 #804417 #1F8017 #175380
split-complementary
#781780 #538017 #178044
monochromatic
#18051A #470E4C #781780 #A920B4 #CE36DB

Accessibility & contrast

On white

9.41
#781780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781780
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781780#FFFFFF#000000##FFFFFF
##7817801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#7B2C4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781780;
/* rgb */ color: rgb(120, 23, 128);
/* oklch */ color: oklch(41.8% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#781780',
    950: '#000000',
  },
}
SCSS
$custom: #781780;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#781780",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 295.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41842,
    "c": 0.17589,
    "h": 324.6
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#781780
secondary
#47B43E
accent
#EC3B49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781780

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

Preview Lab → · Contrast checker → · Palette generator →

#781780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva