#782496#782496

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

Color values

HEX#782496
RGBrgb(120, 36, 150)
HSLhsl(284, 61%, 36%)
HSVhsv(284, 76%, 59%)
CMYKcmyk(20%, 76%, 0%, 41.2%)
CIE-LABlab(32.83, 52.85, -45.31)
CIE-LCHlch(32.83, 69.62, 319.39°)
OKLaboklab(44.44% 0.1293 -0.1278)
OKLCHoklch(44.44% 0.182 315.3)
XYZxyz(13.8807, 7.4574, 29.5565)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782496 #429624
analogous
#3F2496 #782496 #96247B
triadic
#782496 #967824 #249678
tetradic
#782496 #963F24 #429624 #247B96
square
#782496 #963F24 #429624 #247B96
split-complementary
#782496 #7B9624 #24963F
monochromatic
#290C33 #511865 #782496 #9F30C7 #B75CD8

Accessibility & contrast

On white

8.43
#782496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#782496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782496
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782496#FFFFFF#000000##FFFFFF
##7824961.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#204F94
Tritanopia (blue-blind)
#763D5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782496;
/* rgb */ color: rgb(120, 36, 150);
/* oklch */ color: oklch(44.4% 0.182 315.3);
Tailwind
colors: {
  custom: {
    50: '#a368b5',
    500: '#782496',
    950: '#000000',
  },
}
SCSS
$custom: #782496;
$custom-light: #a368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782496",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 284.211,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.18179,
    "h": 315.3
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#782496
secondary
#73BD59
accent
#E4436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782496

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

Preview Lab → · Contrast checker → · Palette generator →

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