#781676#781676

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

Color values

HEX#781676
RGBrgb(120, 22, 118)
HSLhsl(301, 69%, 28%)
HSVhsv(301, 82%, 47%)
CMYKcmyk(0%, 81.7%, 1.7%, 52.9%)
CIE-LABlab(29.10, 51.49, -31.35)
CIE-LCHlch(29.10, 60.28, 328.67°)
OKLaboklab(41.12% 0.1448 -0.0868)
OKLCHoklch(41.12% 0.169 329)
XYZxyz(11.3026, 5.8758, 17.6749)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781676 #167818
analogous
#491678 #781676 #781645
triadic
#781676 #767816 #167678
tetradic
#781676 #784916 #167818 #164578
square
#781676 #784916 #167818 #164578
split-complementary
#781676 #457816 #167849
monochromatic
#1A0519 #440D43 #781676 #AC1FA9 #D92FD5

Accessibility & contrast

On white

9.66
#781676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781676
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781676#FFFFFF#000000##FFFFFF
##7816761.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#344974
Tritanopia (blue-blind)
#7C2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781676;
/* rgb */ color: rgb(120, 22, 118);
/* oklch */ color: oklch(41.1% 0.169 329.0);
Tailwind
colors: {
  custom: {
    50: '#a2619e',
    500: '#781676',
    950: '#000000',
  },
}
SCSS
$custom: #781676;
$custom-light: #a2619e;
$custom-dark: #000000;
JSON
{
  "hex": "#781676",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 301.224,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41123,
    "c": 0.16882,
    "h": 329
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#781676
secondary
#3CAD3F
accent
#EC403C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781676

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

Preview Lab → · Contrast checker → · Palette generator →

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