#781678#781678

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

Color values

HEX#781678
RGBrgb(120, 22, 120)
HSLhsl(300, 69%, 28%)
HSVhsv(300, 82%, 47%)
CMYKcmyk(0%, 81.7%, 0%, 52.9%)
CIE-LABlab(29.22, 51.83, -32.42)
CIE-LCHlch(29.22, 61.14, 327.97°)
OKLaboklab(41.25% 0.1447 -0.09)
OKLCHoklch(41.25% 0.17 328.1)
XYZxyz(11.4227, 5.9238, 18.3074)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781678 #167816
analogous
#471678 #781678 #781647
triadic
#781678 #787816 #167878
tetradic
#781678 #784716 #167816 #164778
square
#781678 #784716 #167816 #164778
split-complementary
#781678 #477816 #167847
monochromatic
#1A051A #440D44 #781678 #AC1FAC #D92FD9

Accessibility & contrast

On white

9.61
#781678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781678
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781678#FFFFFF#000000##FFFFFF
##7816781.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781678;
/* rgb */ color: rgb(120, 22, 120);
/* oklch */ color: oklch(41.2% 0.170 328.1);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#781678',
    950: '#000000',
  },
}
SCSS
$custom: #781678;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#781678",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.17039,
    "h": 328.1
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#781678
secondary
#3CAD3C
accent
#EC3C3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781678

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

Preview Lab → · Contrast checker → · Palette generator →

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