#782378#782378

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

Color values

HEX#782378
RGBrgb(120, 35, 120)
HSLhsl(300, 55%, 30%)
HSVhsv(300, 71%, 47%)
CMYKcmyk(0%, 70.8%, 0%, 52.9%)
CIE-LABlab(30.76, 47.41, -29.97)
CIE-LCHlch(30.76, 56.09, 327.70°)
OKLaboklab(42.35% 0.1322 -0.0829)
OKLCHoklch(42.35% 0.156 327.9)
XYZxyz(11.7368, 6.5520, 18.4121)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782378 #237823
analogous
#4D2378 #782378 #78234D
triadic
#782378 #787823 #237878
tetradic
#782378 #784D23 #237823 #234D78
square
#782378 #784D23 #237823 #234D78
split-complementary
#782378 #4D7823 #23784D
monochromatic
#190719 #491549 #782378 #A731A7 #CA4BCA

Accessibility & contrast

On white

9.09
#782378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#782378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782378
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782378#FFFFFF#000000##FFFFFF
##7823781.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#394C76
Tritanopia (blue-blind)
#7C2F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782378;
/* rgb */ color: rgb(120, 35, 120);
/* oklch */ color: oklch(42.4% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#a2669f',
    500: '#782378',
    950: '#000000',
  },
}
SCSS
$custom: #782378;
$custom-light: #a2669f;
$custom-dark: #000000;
JSON
{
  "hex": "#782378",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.15606,
    "h": 327.9
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#782378
secondary
#4CAB4C
accent
#DE4A4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782378

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

Preview Lab → · Contrast checker → · Palette generator →

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