#781679#781679

#781679 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 327.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#781679
RGBrgb(120, 22, 121)
HSLhsl(299, 69%, 28%)
HSVhsv(299, 82%, 47%)
CMYKcmyk(0.8%, 81.8%, 0%, 52.5%)
CIE-LABlab(29.28, 52.00, -32.96)
CIE-LCHlch(29.28, 61.57, 327.64°)
OKLaboklab(41.31% 0.1447 -0.0915)
OKLCHoklch(41.31% 0.171 327.7)
XYZxyz(11.4837, 5.9482, 18.6287)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781679 #177916
analogous
#461679 #781679 #791648
triadic
#781679 #797816 #167978
tetradic
#781679 #794616 #177916 #164879
square
#781679 #794616 #177916 #164879
split-complementary
#781679 #487916 #167946
monochromatic
#1A051A #450D45 #781679 #AB1FAD #D830D9

Accessibility & contrast

On white

9.59
#781679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781679
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781679#FFFFFF#000000##FFFFFF
##7816791.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#7C2848
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781679;
/* rgb */ color: rgb(120, 22, 121);
/* oklch */ color: oklch(41.3% 0.171 327.7);
Tailwind
colors: {
  custom: {
    50: '#a261a0',
    500: '#781679',
    950: '#000000',
  },
}
SCSS
$custom: #781679;
$custom-light: #a261a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781679",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 299.394,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.17118,
    "h": 327.7
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#781679
secondary
#3EAE3D
accent
#EC3C3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781679

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

Preview Lab → · Contrast checker → · Palette generator →

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