#782299#782299

#782299 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 314.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#782299
RGBrgb(120, 34, 153)
HSLhsl(283, 64%, 37%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(21.6%, 77.8%, 0%, 40%)
CIE-LABlab(32.78, 54.21, -47.22)
CIE-LCHlch(32.78, 71.89, 318.94°)
OKLaboklab(44.48% 0.1307 -0.1333)
OKLCHoklch(44.48% 0.187 314.4)
XYZxyz(14.0666, 7.4375, 30.8254)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782299 #439922
analogous
#3D2299 #782299 #99227F
triadic
#782299 #997822 #229978
tetradic
#782299 #993D22 #439922 #227F99
square
#782299 #993D22 #439922 #227F99
split-complementary
#782299 #7F9922 #22993D
monochromatic
#290C35 #511767 #782299 #9F2DCB #B75BDB

Accessibility & contrast

On white

8.44
#782299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782299
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782299#FFFFFF#000000##FFFFFF
##7822991.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#753D5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782299;
/* rgb */ color: rgb(120, 34, 153);
/* oklch */ color: oklch(44.5% 0.187 314.4);
Tailwind
colors: {
  custom: {
    50: '#a367b8',
    500: '#782299',
    950: '#000000',
  },
}
SCSS
$custom: #782299;
$custom-light: #a367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#782299",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 283.361,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.18672,
    "h": 314.4
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#782299
secondary
#74BF58
accent
#E7416F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782299

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

Preview Lab → · Contrast checker → · Palette generator →

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