#782372#782372

#782372 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 330.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#782372
RGBrgb(120, 35, 114)
HSLhsl(304, 55%, 30%)
HSVhsv(304, 71%, 47%)
CMYKcmyk(0%, 70.8%, 5%, 52.9%)
CIE-LABlab(30.43, 46.35, -26.70)
CIE-LCHlch(30.43, 53.49, 330.06°)
OKLaboklab(42% 0.1319 -0.0735)
OKLCHoklch(42% 0.151 330.9)
XYZxyz(11.3840, 6.4109, 16.5542)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782372 #237829
analogous
#532378 #782372 #782348
triadic
#782372 #727823 #237278
tetradic
#782372 #785323 #237829 #234878
square
#782372 #785323 #237829 #234878
split-complementary
#782372 #487823 #237853
monochromatic
#190718 #491545 #782372 #A7319F #CA4BC1

Accessibility & contrast

On white

9.20
#782372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#782372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782372
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782372#FFFFFF#000000##FFFFFF
##7823721.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#7D2D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782372;
/* rgb */ color: rgb(120, 35, 114);
/* oklch */ color: oklch(42.0% 0.151 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2669b',
    500: '#782372',
    950: '#000000',
  },
}
SCSS
$custom: #782372;
$custom-light: #a2669b;
$custom-dark: #000000;
JSON
{
  "hex": "#782372",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 304.235,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.15099,
    "h": 330.9
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#782372
secondary
#4CAB53
accent
#DE544A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782372

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

Preview Lab → · Contrast checker → · Palette generator →

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