#781779#781779

#781779 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.170 H 327.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#781779
RGBrgb(120, 23, 121)
HSLhsl(299, 68%, 28%)
HSVhsv(299, 81%, 47%)
CMYKcmyk(0.8%, 81%, 0%, 52.5%)
CIE-LABlab(29.38, 51.72, -32.80)
CIE-LCHlch(29.38, 61.24, 327.62°)
OKLaboklab(41.38% 0.1439 -0.0911)
OKLCHoklch(41.38% 0.17 327.7)
XYZxyz(11.5032, 5.9872, 18.6352)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781779 #187917
analogous
#471779 #781779 #791749
triadic
#781779 #797817 #177978
tetradic
#781779 #794717 #187917 #174979
square
#781779 #794717 #187917 #174979
split-complementary
#781779 #497917 #177947
monochromatic
#1A051A #450D46 #781779 #AB21AC #D632D8

Accessibility & contrast

On white

9.56
#781779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#781779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##781779#FFFFFF#000000##FFFFFF
##7817791.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)
#003D7C
Deuteranopia (green-blind)
#334977
Tritanopia (blue-blind)
#7C2848
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781779;
/* rgb */ color: rgb(120, 23, 121);
/* oklch */ color: oklch(41.4% 0.170 327.7);
Tailwind
colors: {
  custom: {
    50: '#a261a0',
    500: '#781779',
    950: '#000000',
  },
}
SCSS
$custom: #781779;
$custom-light: #a261a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781779",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 299.388,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.17026,
    "h": 327.7
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#781779
secondary
#3FAE3E
accent
#EB3D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781779

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

Preview Lab → · Contrast checker → · Palette generator →

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