#782579#782579

#782579 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 327.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#782579
RGBrgb(120, 37, 121)
HSLhsl(299, 53%, 31%)
HSVhsv(299, 69%, 47%)
CMYKcmyk(0.8%, 69.4%, 0%, 52.5%)
CIE-LABlab(31.11, 46.79, -30.06)
CIE-LCHlch(31.11, 55.61, 327.28°)
OKLaboklab(42.62% 0.13 -0.0832)
OKLCHoklch(42.62% 0.154 327.4)
XYZxyz(11.8583, 6.6975, 18.7536)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782579 #267925
analogous
#4E2579 #782579 #792550
triadic
#782579 #797825 #257978
tetradic
#782579 #794E25 #267925 #255079
square
#782579 #794E25 #267925 #255079
split-complementary
#782579 #507925 #25794E
monochromatic
#1B081B #4A174A #782579 #A633A8 #C84FC9

Accessibility & contrast

On white

8.98
#782579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#782579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782579
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782579#FFFFFF#000000##FFFFFF
##7825791.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#7C314C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782579;
/* rgb */ color: rgb(120, 37, 121);
/* oklch */ color: oklch(42.6% 0.154 327.4);
Tailwind
colors: {
  custom: {
    50: '#a267a0',
    500: '#782579',
    950: '#000000',
  },
}
SCSS
$custom: #782579;
$custom-light: #a267a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782579",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 299.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.15431,
    "h": 327.4
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#782579
secondary
#50AB4E
accent
#DD4B4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #782579

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

Preview Lab → · Contrast checker → · Palette generator →

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