#782790#782790

#782790 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.173 H 317.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#782790
RGBrgb(120, 39, 144)
HSLhsl(286, 57%, 36%)
HSVhsv(286, 73%, 56%)
CMYKcmyk(16.7%, 72.9%, 0%, 43.5%)
CIE-LABlab(32.83, 50.44, -41.63)
CIE-LCHlch(32.83, 65.40, 320.46°)
OKLaboklab(44.31% 0.127 -0.117)
OKLCHoklch(44.31% 0.173 317.4)
XYZxyz(13.5046, 7.4583, 27.1084)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782790 #3F9027
analogous
#432790 #782790 #902773
triadic
#782790 #907827 #279078
tetradic
#782790 #904327 #3F9027 #277390
square
#782790 #904327 #3F9027 #277390
split-complementary
#782790 #739027 #279043
monochromatic
#280D30 #501A60 #782790 #A034C0 #B95ED3

Accessibility & contrast

On white

8.43
#782790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#782790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782790
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782790#FFFFFF#000000##FFFFFF
##7827901.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#773C59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782790;
/* rgb */ color: rgb(120, 39, 144);
/* oklch */ color: oklch(44.3% 0.173 317.4);
Tailwind
colors: {
  custom: {
    50: '#a269b1',
    500: '#782790',
    950: '#000000',
  },
}
SCSS
$custom: #782790;
$custom-light: #a269b1;
$custom-dark: #000000;
JSON
{
  "hex": "#782790",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 286.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.17268,
    "h": 317.4
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#782790
secondary
#70B95A
accent
#E1476A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782790

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

Preview Lab → · Contrast checker → · Palette generator →

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