#782379#782379

#782379 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 327.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#782379
RGBrgb(120, 35, 121)
HSLhsl(299, 55%, 31%)
HSVhsv(299, 71%, 47%)
CMYKcmyk(0.8%, 71.1%, 0%, 52.5%)
CIE-LABlab(30.82, 47.60, -30.51)
CIE-LCHlch(30.82, 56.53, 327.34°)
OKLaboklab(42.42% 0.1322 -0.0845)
OKLCHoklch(42.42% 0.157 327.4)
XYZxyz(11.7978, 6.5764, 18.7334)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782379 #247923
analogous
#4D2379 #782379 #79234F
triadic
#782379 #797823 #237978
tetradic
#782379 #794D23 #247923 #234F79
square
#782379 #794D23 #247923 #234F79
split-complementary
#782379 #4F7923 #23794D
monochromatic
#1A081A #49154A #782379 #A731A8 #CA4BCB

Accessibility & contrast

On white

9.07
#782379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#782379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782379
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782379#FFFFFF#000000##FFFFFF
##7823791.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7C304B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782379;
/* rgb */ color: rgb(120, 35, 121);
/* oklch */ color: oklch(42.4% 0.157 327.4);
Tailwind
colors: {
  custom: {
    50: '#a266a0',
    500: '#782379',
    950: '#000000',
  },
}
SCSS
$custom: #782379;
$custom-light: #a266a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782379",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 299.302,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.15692,
    "h": 327.4
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#782379
secondary
#4DAC4C
accent
#DE494B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #782379

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

Preview Lab → · Contrast checker → · Palette generator →

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