#782199#782199

#782199 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.188 H 314.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#782199
RGBrgb(120, 33, 153)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 78%, 60%)
CMYKcmyk(21.6%, 78.4%, 0%, 40%)
CIE-LABlab(32.66, 54.56, -47.42)
CIE-LCHlch(32.66, 72.28, 319.01°)
OKLaboklab(44.39% 0.1316 -0.1339)
OKLCHoklch(44.39% 0.188 314.5)
XYZxyz(14.0384, 7.3812, 30.8160)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782199 #429921
analogous
#3C2199 #782199 #99217E
triadic
#782199 #997821 #219978
tetradic
#782199 #993C21 #429921 #217E99
square
#782199 #993C21 #429921 #217E99
split-complementary
#782199 #7E9921 #21993C
monochromatic
#290B34 #511667 #782199 #9F2CCB #B759DB

Accessibility & contrast

On white

8.48
#782199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782199
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782199#FFFFFF#000000##FFFFFF
##7821991.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#753D5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782199;
/* rgb */ color: rgb(120, 33, 153);
/* oklch */ color: oklch(44.4% 0.188 314.5);
Tailwind
colors: {
  custom: {
    50: '#a367b8',
    500: '#782199',
    950: '#000000',
  },
}
SCSS
$custom: #782199;
$custom-light: #a367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#782199",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 283.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.18775,
    "h": 314.5
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#782199
secondary
#73BF56
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782199

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

Preview Lab → · Contrast checker → · Palette generator →

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