#781977#781977

#781977 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.167 H 328.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#781977
RGBrgb(120, 25, 119)
HSLhsl(301, 66%, 28%)
HSVhsv(301, 79%, 47%)
CMYKcmyk(0%, 79.2%, 0.8%, 52.9%)
CIE-LABlab(29.47, 50.77, -31.40)
CIE-LCHlch(29.47, 59.70, 328.27°)
OKLaboklab(41.4% 0.1422 -0.087)
OKLCHoklch(41.4% 0.167 328.5)
XYZxyz(11.4230, 6.0211, 18.0097)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781977 #19781A
analogous
#491978 #781977 #781947
triadic
#781977 #777819 #197778
tetradic
#781977 #784919 #19781A #194778
square
#781977 #784919 #19781A #194778
split-complementary
#781977 #477819 #197849
monochromatic
#190519 #450E45 #781977 #AB24A9 #D536D3

Accessibility & contrast

On white

9.53
#781977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#781977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781977
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781977#FFFFFF#000000##FFFFFF
##7819771.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E79
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7C2847
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781977;
/* rgb */ color: rgb(120, 25, 119);
/* oklch */ color: oklch(41.4% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#781977',
    950: '#000000',
  },
}
SCSS
$custom: #781977;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#781977",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 300.632,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.16671,
    "h": 328.5
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#781977
secondary
#40AD41
accent
#E8413F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781977

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

Preview Lab → · Contrast checker → · Palette generator →

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