#782596#782596

#782596 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.181 H 315.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#782596
RGBrgb(120, 37, 150)
HSLhsl(284, 60%, 37%)
HSVhsv(284, 75%, 59%)
CMYKcmyk(20%, 75.3%, 0%, 41.2%)
CIE-LABlab(32.96, 52.47, -45.10)
CIE-LCHlch(32.96, 69.19, 319.32°)
OKLaboklab(44.54% 0.1284 -0.1271)
OKLCHoklch(44.54% 0.181 315.3)
XYZxyz(13.9114, 7.5187, 29.5667)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782596 #439625
analogous
#402596 #782596 #96257C
triadic
#782596 #967825 #259678
tetradic
#782596 #964025 #439625 #257C96
square
#782596 #964025 #439625 #257C96
split-complementary
#782596 #7C9625 #259640
monochromatic
#290D34 #511965 #782596 #9F31C7 #B75ED7

Accessibility & contrast

On white

8.39
#782596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#782596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782596
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782596#FFFFFF#000000##FFFFFF
##7825961.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#763E5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782596;
/* rgb */ color: rgb(120, 37, 150);
/* oklch */ color: oklch(44.5% 0.181 315.3);
Tailwind
colors: {
  custom: {
    50: '#a368b5',
    500: '#782596',
    950: '#000000',
  },
}
SCSS
$custom: #782596;
$custom-light: #a368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782596",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 284.071,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.18067,
    "h": 315.3
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#782596
secondary
#74BC5B
accent
#E4446F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782596

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

Preview Lab → · Contrast checker → · Palette generator →

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