#781879#781879

#781879 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.169 H 327.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#781879
RGBrgb(120, 24, 121)
HSLhsl(299, 67%, 28%)
HSVhsv(299, 80%, 47%)
CMYKcmyk(0.8%, 80.2%, 0%, 52.5%)
CIE-LABlab(29.48, 51.42, -32.64)
CIE-LCHlch(29.48, 60.91, 327.60°)
OKLaboklab(41.46% 0.143 -0.0906)
OKLCHoklch(41.46% 0.169 327.6)
XYZxyz(11.5234, 6.0277, 18.6420)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781879 #197918
analogous
#471879 #781879 #791849
triadic
#781879 #797818 #187978
tetradic
#781879 #794718 #197918 #184979
square
#781879 #794718 #197918 #184979
split-complementary
#781879 #497918 #187947
monochromatic
#19051A #450E46 #781879 #AB22AC #D535D7

Accessibility & contrast

On white

9.52
#781879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781879
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781879#FFFFFF#000000##FFFFFF
##7818791.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#7C2948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781879;
/* rgb */ color: rgb(120, 24, 121);
/* oklch */ color: oklch(41.5% 0.169 327.6);
Tailwind
colors: {
  custom: {
    50: '#a262a0',
    500: '#781879',
    950: '#000000',
  },
}
SCSS
$custom: #781879;
$custom-light: #a262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781879",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 299.381,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.16931,
    "h": 327.6
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#781879
secondary
#40AE3F
accent
#EA3E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781879

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

Preview Lab → · Contrast checker → · Palette generator →

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