#782279#782279

#782279 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.158 H 327.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#782279
RGBrgb(120, 34, 121)
HSLhsl(299, 56%, 30%)
HSVhsv(299, 72%, 47%)
CMYKcmyk(0.8%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.68, 47.99, -30.73)
CIE-LCHlch(30.68, 56.98, 327.37°)
OKLaboklab(42.32% 0.1333 -0.0851)
OKLCHoklch(42.32% 0.158 327.4)
XYZxyz(11.7688, 6.5184, 18.7238)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782279 #237922
analogous
#4C2279 #782279 #79224F
triadic
#782279 #797822 #227978
tetradic
#782279 #794C22 #237922 #224F79
square
#782279 #794C22 #237922 #224F79
split-complementary
#782279 #4F7922 #22794C
monochromatic
#190719 #491549 #782279 #A72FA9 #CA49CC

Accessibility & contrast

On white

9.12
#782279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#782279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782279
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782279#FFFFFF#000000##FFFFFF
##7822791.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7C2F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782279;
/* rgb */ color: rgb(120, 34, 121);
/* oklch */ color: oklch(42.3% 0.158 327.4);
Tailwind
colors: {
  custom: {
    50: '#a266a0',
    500: '#782279',
    950: '#000000',
  },
}
SCSS
$custom: #782279;
$custom-light: #a266a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782279",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 299.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.15818,
    "h": 327.4
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#782279
secondary
#4CAC4B
accent
#DF484A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #782279

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

Preview Lab → · Contrast checker → · Palette generator →

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