#782473#782473

#782473 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 330.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#782473
RGBrgb(120, 36, 115)
HSLhsl(304, 54%, 31%)
HSVhsv(304, 70%, 47%)
CMYKcmyk(0%, 70%, 4.2%, 52.9%)
CIE-LABlab(30.62, 46.12, -27.02)
CIE-LCHlch(30.62, 53.46, 329.64°)
OKLaboklab(42.16% 0.1308 -0.0744)
OKLCHoklch(42.16% 0.151 330.4)
XYZxyz(11.4711, 6.4935, 16.8655)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782473 #247829
analogous
#532478 #782473 #782449
triadic
#782473 #737824 #247378
tetradic
#782473 #785324 #247829 #244978
square
#782473 #785324 #247829 #244978
split-complementary
#782473 #497824 #247853
monochromatic
#1A0819 #491646 #782473 #A732A0 #CA4DC2

Accessibility & contrast

On white

9.14
#782473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782473
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782473#FFFFFF#000000##FFFFFF
##7824731.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#7D2E48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782473;
/* rgb */ color: rgb(120, 36, 115);
/* oklch */ color: oklch(42.2% 0.151 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2679b',
    500: '#782473',
    950: '#000000',
  },
}
SCSS
$custom: #782473;
$custom-light: #a2679b;
$custom-dark: #000000;
JSON
{
  "hex": "#782473",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 303.571,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.15051,
    "h": 330.4
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#782473
secondary
#4DAB53
accent
#DD534B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782473

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

Preview Lab → · Contrast checker → · Palette generator →

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