#782179#782179

#782179 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.159 H 327.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#782179
RGBrgb(120, 33, 121)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 73%, 47%)
CMYKcmyk(0.8%, 72.7%, 0%, 52.5%)
CIE-LABlab(30.55, 48.37, -30.94)
CIE-LCHlch(30.55, 57.42, 327.39°)
OKLaboklab(42.22% 0.1344 -0.0857)
OKLCHoklch(42.22% 0.159 327.5)
XYZxyz(11.7406, 6.4621, 18.7144)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782179 #227921
analogous
#4C2179 #782179 #79214E
triadic
#782179 #797821 #217978
tetradic
#782179 #794C21 #227921 #214E79
square
#782179 #794C21 #227921 #214E79
split-complementary
#782179 #4E7921 #21794C
monochromatic
#190719 #481449 #782179 #A82EA9 #CB47CD

Accessibility & contrast

On white

9.16
#782179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#782179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782179
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782179#FFFFFF#000000##FFFFFF
##7821791.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7C2E4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782179;
/* rgb */ color: rgb(120, 33, 121);
/* oklch */ color: oklch(42.2% 0.159 327.5);
Tailwind
colors: {
  custom: {
    50: '#a265a0',
    500: '#782179',
    950: '#000000',
  },
}
SCSS
$custom: #782179;
$custom-light: #a265a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782179",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 299.318,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.15942,
    "h": 327.5
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#782179
secondary
#4BAC4A
accent
#E04749
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #782179

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

Preview Lab → · Contrast checker → · Palette generator →

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