#781790#781790

#781790 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.189 H 318.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#781790
RGBrgb(120, 23, 144)
HSLhsl(288, 72%, 33%)
HSVhsv(288, 84%, 56%)
CMYKcmyk(16.7%, 84%, 0%, 43.5%)
CIE-LABlab(30.93, 55.91, -44.70)
CIE-LCHlch(30.93, 71.58, 321.36°)
OKLaboklab(42.97% 0.1412 -0.1259)
OKLCHoklch(42.97% 0.189 318.3)
XYZxyz(13.0855, 6.6201, 26.9687)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781790 #2F9017
analogous
#3B1790 #781790 #90176B
triadic
#781790 #907817 #179078
tetradic
#781790 #903B17 #2F9017 #176B90
square
#781790 #903B17 #2F9017 #176B90
split-complementary
#781790 #6B9017 #17903B
monochromatic
#200626 #4C0F5B #781790 #A41FC5 #C141E1

Accessibility & contrast

On white

9.04
#781790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#781790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781790
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781790#FFFFFF#000000##FFFFFF
##7817901.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#1E4C8D
Tritanopia (blue-blind)
#773455
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #781790;
/* rgb */ color: rgb(120, 23, 144);
/* oklch */ color: oklch(43.0% 0.189 318.3);
Tailwind
colors: {
  custom: {
    50: '#a363b1',
    500: '#781790',
    950: '#000000',
  },
}
SCSS
$custom: #781790;
$custom-light: #a363b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781790",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 288.099,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.18914,
    "h": 318.3
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#781790
secondary
#5BC142
accent
#EF395D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781790

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

Preview Lab → · Contrast checker → · Palette generator →

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