#782591#782591

#782591 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.176 H 317.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#782591
RGBrgb(120, 37, 145)
HSLhsl(286, 59%, 36%)
HSVhsv(286, 74%, 57%)
CMYKcmyk(17.2%, 74.5%, 0%, 43.1%)
CIE-LABlab(32.62, 51.44, -42.59)
CIE-LCHlch(32.62, 66.78, 320.38°)
OKLaboklab(44.18% 0.129 -0.1198)
OKLCHoklch(44.18% 0.176 317.1)
XYZxyz(13.5174, 7.3611, 27.4914)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782591 #3E9125
analogous
#422591 #782591 #912574
triadic
#782591 #917825 #259178
tetradic
#782591 #914225 #3E9125 #257491
square
#782591 #914225 #3E9125 #257491
split-complementary
#782591 #749125 #259142
monochromatic
#270C2F #501960 #782591 #A031C2 #B95BD5

Accessibility & contrast

On white

8.49
#782591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782591
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782591#FFFFFF#000000##FFFFFF
##7825911.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#773B59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782591;
/* rgb */ color: rgb(120, 37, 145);
/* oklch */ color: oklch(44.2% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#a368b2',
    500: '#782591',
    950: '#000000',
  },
}
SCSS
$custom: #782591;
$custom-light: #a368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#782591",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 286.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.17602,
    "h": 317.1
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#782591
secondary
#6FBA58
accent
#E3456A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782591

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

Preview Lab → · Contrast checker → · Palette generator →

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