#782373#782373

#782373 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.152 H 330.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#782373
RGBrgb(120, 35, 115)
HSLhsl(304, 55%, 30%)
HSVhsv(304, 71%, 47%)
CMYKcmyk(0%, 70.8%, 4.2%, 52.9%)
CIE-LABlab(30.48, 46.53, -27.25)
CIE-LCHlch(30.48, 53.92, 329.64°)
OKLaboklab(42.06% 0.132 -0.075)
OKLCHoklch(42.06% 0.152 330.4)
XYZxyz(11.4412, 6.4338, 16.8556)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782373 #237828
analogous
#522378 #782373 #782349
triadic
#782373 #737823 #237378
tetradic
#782373 #785223 #237828 #234978
square
#782373 #785223 #237828 #234978
split-complementary
#782373 #497823 #237852
monochromatic
#190718 #491546 #782373 #A731A0 #CA4BC3

Accessibility & contrast

On white

9.18
#782373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782373
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782373#FFFFFF#000000##FFFFFF
##7823731.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4075
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#7D2D48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782373;
/* rgb */ color: rgb(120, 35, 115);
/* oklch */ color: oklch(42.1% 0.152 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2669b',
    500: '#782373',
    950: '#000000',
  },
}
SCSS
$custom: #782373;
$custom-light: #a2669b;
$custom-dark: #000000;
JSON
{
  "hex": "#782373",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 303.529,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.15183,
    "h": 330.4
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#782373
secondary
#4CAB52
accent
#DE524A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782373

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

Preview Lab → · Contrast checker → · Palette generator →

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