#782399#782399

#782399 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.186 H 314.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#782399
RGBrgb(120, 35, 153)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 77%, 60%)
CMYKcmyk(21.6%, 77.1%, 0%, 40%)
CIE-LABlab(32.91, 53.84, -47.01)
CIE-LCHlch(32.91, 71.48, 318.87°)
OKLaboklab(44.57% 0.1298 -0.1327)
OKLCHoklch(44.57% 0.186 314.4)
XYZxyz(14.0956, 7.4955, 30.8351)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782399 #449923
analogous
#3D2399 #782399 #99237F
triadic
#782399 #997823 #239978
tetradic
#782399 #993D23 #449923 #237F99
square
#782399 #993D23 #449923 #237F99
split-complementary
#782399 #7F9923 #23993D
monochromatic
#2A0C35 #511867 #782399 #9F2ECB #B75DDA

Accessibility & contrast

On white

8.40
#782399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782399
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782399#FFFFFF#000000##FFFFFF
##7823991.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#1B4F96
Tritanopia (blue-blind)
#753E5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782399;
/* rgb */ color: rgb(120, 35, 153);
/* oklch */ color: oklch(44.6% 0.186 314.4);
Tailwind
colors: {
  custom: {
    50: '#a368b8',
    500: '#782399',
    950: '#000000',
  },
}
SCSS
$custom: #782399;
$custom-light: #a368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#782399",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 283.22,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.18566,
    "h": 314.4
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#782399
secondary
#76BE59
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782399

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

Preview Lab → · Contrast checker → · Palette generator →

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