#781580#781580

#781580 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.178 H 324.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#781580
RGBrgb(120, 21, 128)
HSLhsl(296, 72%, 29%)
HSVhsv(296, 84%, 50%)
CMYKcmyk(6.3%, 83.6%, 0%, 49.8%)
CIE-LABlab(29.64, 53.50, -36.81)
CIE-LCHlch(29.64, 64.94, 325.47°)
OKLaboklab(41.71% 0.1449 -0.1027)
OKLCHoklch(41.71% 0.178 324.7)
XYZxyz(11.9099, 6.0887, 20.9658)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781580 #1D8015
analogous
#431580 #781580 #801553
triadic
#781580 #807815 #158078
tetradic
#781580 #804315 #1D8015 #155380
square
#781580 #804315 #1D8015 #155380
split-complementary
#781580 #538015 #158043
monochromatic
#19041A #470C4B #781580 #A91EB5 #D132DD

Accessibility & contrast

On white

9.47
#781580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##781580#FFFFFF#000000##FFFFFF
##7815801.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)
#003E83
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#7B2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781580;
/* rgb */ color: rgb(120, 21, 128);
/* oklch */ color: oklch(41.7% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#781580',
    950: '#000000',
  },
}
SCSS
$custom: #781580;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#781580",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 295.514,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.17764,
    "h": 324.7
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#781580
secondary
#45B53C
accent
#EF3947
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #781580

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

Preview Lab → · Contrast checker → · Palette generator →

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