#782979#782979

#782979 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.149 H 327.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#782979
RGBrgb(120, 41, 121)
HSLhsl(299, 49%, 32%)
HSVhsv(299, 66%, 47%)
CMYKcmyk(0.8%, 66.1%, 0%, 52.5%)
CIE-LABlab(31.72, 45.09, -29.09)
CIE-LCHlch(31.72, 53.66, 327.17°)
OKLaboklab(43.06% 0.1252 -0.0804)
OKLCHoklch(43.06% 0.149 327.3)
XYZxyz(11.9897, 6.9602, 18.7974)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782979 #2A7929
analogous
#502979 #782979 #792952
triadic
#782979 #797829 #297978
tetradic
#782979 #795029 #2A7929 #295279
square
#782979 #795029 #2A7929 #295279
split-complementary
#782979 #527929 #297950
monochromatic
#1D0A1E #4B1A4B #782979 #A538A7 #C556C6

Accessibility & contrast

On white

8.78
#782979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#782979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782979
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782979#FFFFFF#000000##FFFFFF
##7829791.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#3C4E77
Tritanopia (blue-blind)
#7C344D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782979;
/* rgb */ color: rgb(120, 41, 121);
/* oklch */ color: oklch(43.1% 0.149 327.3);
Tailwind
colors: {
  custom: {
    50: '#a269a0',
    500: '#782979',
    950: '#000000',
  },
}
SCSS
$custom: #782979;
$custom-light: #a269a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782979",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 299.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.14879,
    "h": 327.3
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#782979
secondary
#54AB53
accent
#D94F51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782979

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

Preview Lab → · Contrast checker → · Palette generator →

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