#782497#782497

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

Color values

HEX#782497
RGBrgb(120, 36, 151)
HSLhsl(284, 61%, 37%)
HSVhsv(284, 76%, 59%)
CMYKcmyk(20.5%, 76.2%, 0%, 40.8%)
CIE-LABlab(32.90, 53.06, -45.81)
CIE-LCHlch(32.90, 70.10, 319.19°)
OKLaboklab(44.52% 0.1292 -0.1292)
OKLCHoklch(44.52% 0.183 315)
XYZxyz(13.9616, 7.4897, 29.9824)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782497 #439724
analogous
#3F2497 #782497 #97247D
triadic
#782497 #977824 #249778
tetradic
#782497 #973F24 #439724 #247D97
square
#782497 #973F24 #439724 #247D97
split-complementary
#782497 #7D9724 #24973F
monochromatic
#290C34 #511866 #782497 #9F30C8 #B75DD8

Accessibility & contrast

On white

8.41
#782497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782497
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782497#FFFFFF#000000##FFFFFF
##7824971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#1F4F95
Tritanopia (blue-blind)
#753D5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782497;
/* rgb */ color: rgb(120, 36, 151);
/* oklch */ color: oklch(44.5% 0.183 315.0);
Tailwind
colors: {
  custom: {
    50: '#a368b6',
    500: '#782497',
    950: '#000000',
  },
}
SCSS
$custom: #782497;
$custom-light: #a368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782497",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 283.826,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.18272,
    "h": 315
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#782497
secondary
#74BD5A
accent
#E5436F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782497

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

Preview Lab → · Contrast checker → · Palette generator →

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