#782091#782091

#782091 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.182 H 317.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#782091
RGBrgb(120, 32, 145)
HSLhsl(287, 64%, 35%)
HSVhsv(287, 78%, 57%)
CMYKcmyk(17.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(31.97, 53.29, -43.63)
CIE-LCHlch(31.97, 68.87, 320.69°)
OKLaboklab(43.72% 0.1338 -0.1228)
OKLCHoklch(43.72% 0.182 317.4)
XYZxyz(13.3723, 7.0710, 27.4430)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782091 #399120
analogous
#402091 #782091 #912071
triadic
#782091 #917820 #209178
tetradic
#782091 #914020 #399120 #207191
square
#782091 #914020 #399120 #207191
split-complementary
#782091 #719120 #209140
monochromatic
#250A2D #4F155F #782091 #A12BC3 #BB52D9

Accessibility & contrast

On white

8.70
#782091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#782091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782091
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782091#FFFFFF#000000##FFFFFF
##7820911.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#234E8F
Tritanopia (blue-blind)
#773958
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782091;
/* rgb */ color: rgb(120, 32, 145);
/* oklch */ color: oklch(43.7% 0.182 317.4);
Tailwind
colors: {
  custom: {
    50: '#a366b2',
    500: '#782091',
    950: '#000000',
  },
}
SCSS
$custom: #782091;
$custom-light: #a366b2;
$custom-dark: #000000;
JSON
{
  "hex": "#782091",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 286.726,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.18158,
    "h": 317.4
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#782091
secondary
#68BC51
accent
#E74166
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782091

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

Preview Lab → · Contrast checker → · Palette generator →

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