#782991#782991

#782991 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.171 H 316.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#782991
RGBrgb(120, 41, 145)
HSLhsl(286, 56%, 36%)
HSVhsv(286, 72%, 57%)
CMYKcmyk(17.2%, 71.7%, 0%, 43.1%)
CIE-LABlab(33.19, 49.82, -41.67)
CIE-LCHlch(33.19, 64.95, 320.09°)
OKLaboklab(44.59% 0.1248 -0.1171)
OKLCHoklch(44.59% 0.171 316.8)
XYZxyz(13.6487, 7.6238, 27.5352)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782991 #429129
analogous
#442991 #782991 #912976
triadic
#782991 #917829 #299178
tetradic
#782991 #914429 #429129 #297691
square
#782991 #914429 #429129 #297691
split-complementary
#782991 #769129 #299144
monochromatic
#290E32 #511C61 #782991 #9F36C1 #B762D3

Accessibility & contrast

On white

8.32
#782991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782991
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782991#FFFFFF#000000##FFFFFF
##7829911.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#773E5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782991;
/* rgb */ color: rgb(120, 41, 145);
/* oklch */ color: oklch(44.6% 0.171 316.8);
Tailwind
colors: {
  custom: {
    50: '#a26ab2',
    500: '#782991',
    950: '#000000',
  },
}
SCSS
$custom: #782991;
$custom-light: #a26ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#782991",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 285.577,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.17114,
    "h": 316.8
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#782991
secondary
#73B85D
accent
#DF496D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782991

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

Preview Lab → · Contrast checker → · Palette generator →

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