#782292#782292

#782292 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.180 H 316.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#782292
RGBrgb(120, 34, 146)
HSLhsl(286, 62%, 35%)
HSVhsv(286, 77%, 57%)
CMYKcmyk(17.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(32.29, 52.78, -43.73)
CIE-LCHlch(32.29, 68.54, 320.35°)
OKLaboklab(43.97% 0.1318 -0.1231)
OKLCHoklch(43.97% 0.18 316.9)
XYZxyz(13.5053, 7.2130, 27.8694)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782292 #3C9222
analogous
#402292 #782292 #922274
triadic
#782292 #927822 #229278
tetradic
#782292 #924022 #3C9222 #227492
square
#782292 #924022 #3C9222 #227492
split-complementary
#782292 #749222 #229240
monochromatic
#260B2F #4F1660 #782292 #A12EC4 #BA57D8

Accessibility & contrast

On white

8.60
#782292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782292
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782292#FFFFFF#000000##FFFFFF
##7822921.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#244E90
Tritanopia (blue-blind)
#773A59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782292;
/* rgb */ color: rgb(120, 34, 146);
/* oklch */ color: oklch(44.0% 0.180 316.9);
Tailwind
colors: {
  custom: {
    50: '#a367b3',
    500: '#782292',
    950: '#000000',
  },
}
SCSS
$custom: #782292;
$custom-light: #a367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#782292",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 286.071,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.18034,
    "h": 316.9
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#782292
secondary
#6CBC54
accent
#E54368
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782292

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

Preview Lab → · Contrast checker → · Palette generator →

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