#782296#782296

#782296 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.184 H 315.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#782296
RGBrgb(120, 34, 150)
HSLhsl(284, 63%, 36%)
HSVhsv(284, 77%, 59%)
CMYKcmyk(20%, 77.3%, 0%, 41.2%)
CIE-LABlab(32.57, 53.59, -45.73)
CIE-LCHlch(32.57, 70.45, 319.52°)
OKLaboklab(44.26% 0.1312 -0.129)
OKLCHoklch(44.26% 0.184 315.5)
XYZxyz(13.8219, 7.3397, 29.5369)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782296 #409622
analogous
#3E2296 #782296 #96227A
triadic
#782296 #967822 #229678
tetradic
#782296 #963E22 #409622 #227A96
square
#782296 #963E22 #409622 #227A96
split-complementary
#782296 #7A9622 #22963E
monochromatic
#280B32 #501764 #782296 #A02DC8 #B859D9

Accessibility & contrast

On white

8.51
#782296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#782296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782296
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782296#FFFFFF#000000##FFFFFF
##7822961.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#763C5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782296;
/* rgb */ color: rgb(120, 34, 150);
/* oklch */ color: oklch(44.3% 0.184 315.5);
Tailwind
colors: {
  custom: {
    50: '#a367b6',
    500: '#782296',
    950: '#000000',
  },
}
SCSS
$custom: #782296;
$custom-light: #a367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782296",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 284.483,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.18397,
    "h": 315.5
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#782296
secondary
#71BE56
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782296

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

Preview Lab → · Contrast checker → · Palette generator →

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