#781776#781776

#781776 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.168 H 329.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#781776
RGBrgb(120, 23, 118)
HSLhsl(301, 68%, 28%)
HSVhsv(301, 81%, 47%)
CMYKcmyk(0%, 80.8%, 1.7%, 52.9%)
CIE-LABlab(29.20, 51.21, -31.19)
CIE-LCHlch(29.20, 59.96, 328.65°)
OKLaboklab(41.19% 0.144 -0.0864)
OKLCHoklch(41.19% 0.168 329)
XYZxyz(11.3220, 5.9147, 17.6814)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781776 #177819
analogous
#491778 #781776 #781745
triadic
#781776 #767817 #177678
tetradic
#781776 #784917 #177819 #174578
square
#781776 #784917 #177819 #174578
split-complementary
#781776 #457817 #177849
monochromatic
#1A0519 #450D43 #781776 #AB21A8 #D832D4

Accessibility & contrast

On white

9.62
#781776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781776
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781776#FFFFFF#000000##FFFFFF
##7817761.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D78
Deuteranopia (green-blind)
#354974
Tritanopia (blue-blind)
#7C2746
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781776;
/* rgb */ color: rgb(120, 23, 118);
/* oklch */ color: oklch(41.2% 0.168 329.0);
Tailwind
colors: {
  custom: {
    50: '#a2619e',
    500: '#781776',
    950: '#000000',
  },
}
SCSS
$custom: #781776;
$custom-light: #a2619e;
$custom-dark: #000000;
JSON
{
  "hex": "#781776",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 301.237,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.16789,
    "h": 329
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#781776
secondary
#3EAD40
accent
#EB413D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781776

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

Preview Lab → · Contrast checker → · Palette generator →

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