#782A91#782A91

#782A91 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.170 H 316.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#782A91
RGBrgb(120, 42, 145)
HSLhsl(285, 55%, 37%)
HSVhsv(285, 71%, 57%)
CMYKcmyk(17.2%, 71%, 0%, 43.1%)
CIE-LABlab(33.34, 49.40, -41.43)
CIE-LCHlch(33.34, 64.47, 320.01°)
OKLaboklab(44.7% 0.1237 -0.1164)
OKLCHoklch(44.7% 0.17 316.7)
XYZxyz(13.6838, 7.6939, 27.5468)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A91 #43912A
analogous
#452A91 #782A91 #912A77
triadic
#782A91 #91782A #2A9178
tetradic
#782A91 #91452A #43912A #2A7791
square
#782A91 #91452A #43912A #2A7791
split-complementary
#782A91 #77912A #2A9145
monochromatic
#290F32 #511C62 #782A91 #9F38C0 #B763D2

Accessibility & contrast

On white

8.27
#782A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#782A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A91
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A91#FFFFFF#000000##FFFFFF
##782A911.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#773E5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782a91;
/* rgb */ color: rgb(120, 42, 145);
/* oklch */ color: oklch(44.7% 0.170 316.7);
Tailwind
colors: {
  custom: {
    50: '#a26bb2',
    500: '#782a91',
    950: '#000000',
  },
}
SCSS
$custom: #782a91;
$custom-light: #a26bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#782a91",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 285.437,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44697,
    "c": 0.16987,
    "h": 316.7
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#782A91
secondary
#74B85F
accent
#DE496E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782A91

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

Preview Lab → · Contrast checker → · Palette generator →

#782A91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva