#781677#781677

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

Color values

HEX#781677
RGBrgb(120, 22, 119)
HSLhsl(301, 69%, 28%)
HSVhsv(301, 82%, 47%)
CMYKcmyk(0%, 81.7%, 0.8%, 52.9%)
CIE-LABlab(29.16, 51.66, -31.89)
CIE-LCHlch(29.16, 60.71, 328.32°)
OKLaboklab(41.19% 0.1448 -0.0884)
OKLCHoklch(41.19% 0.17 328.6)
XYZxyz(11.3623, 5.8997, 17.9895)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781677 #167817
analogous
#481678 #781677 #781646
triadic
#781677 #777816 #167778
tetradic
#781677 #784816 #167817 #164678
square
#781677 #784816 #167817 #164678
split-complementary
#781677 #467816 #167848
monochromatic
#1A051A #440D44 #781677 #AC1FAA #D92FD7

Accessibility & contrast

On white

9.63
#781677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781677
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781677#FFFFFF#000000##FFFFFF
##7816771.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#7C2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781677;
/* rgb */ color: rgb(120, 22, 119);
/* oklch */ color: oklch(41.2% 0.170 328.6);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#781677',
    950: '#000000',
  },
}
SCSS
$custom: #781677;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#781677",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 300.612,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.16961,
    "h": 328.6
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#781677
secondary
#3CAD3E
accent
#EC3E3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781677

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

Preview Lab → · Contrast checker → · Palette generator →

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