#782290#782290

#782290 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.179 H 317.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#782290
RGBrgb(120, 34, 144)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 76%, 56%)
CMYKcmyk(16.7%, 76.4%, 0%, 43.5%)
CIE-LABlab(32.15, 52.38, -42.72)
CIE-LCHlch(32.15, 67.59, 320.80°)
OKLaboklab(43.83% 0.132 -0.1201)
OKLCHoklch(43.83% 0.179 317.7)
XYZxyz(13.3511, 7.1513, 27.0572)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782290 #3A9022
analogous
#412290 #782290 #902271
triadic
#782290 #907822 #229078
tetradic
#782290 #904122 #3A9022 #227190
square
#782290 #904122 #3A9022 #227190
split-complementary
#782290 #719022 #229041
monochromatic
#250B2D #4F165E #782290 #A12EC2 #BB55D7

Accessibility & contrast

On white

8.64
#782290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#782290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782290
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782290#FFFFFF#000000##FFFFFF
##7822901.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#773958
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782290;
/* rgb */ color: rgb(120, 34, 144);
/* oklch */ color: oklch(43.8% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#a367b1',
    500: '#782290',
    950: '#000000',
  },
}
SCSS
$custom: #782290;
$custom-light: #a367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#782290",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 286.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.17852,
    "h": 317.7
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#782290
secondary
#6ABB53
accent
#E54366
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #782290

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

Preview Lab → · Contrast checker → · Palette generator →

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