#782190#782190

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

Color values

HEX#782190
RGBrgb(120, 33, 144)
HSLhsl(287, 63%, 35%)
HSVhsv(287, 77%, 56%)
CMYKcmyk(16.7%, 77.1%, 0%, 43.5%)
CIE-LABlab(32.02, 52.74, -42.93)
CIE-LCHlch(32.02, 68.00, 320.86°)
OKLaboklab(43.74% 0.133 -0.1207)
OKLCHoklch(43.74% 0.18 317.8)
XYZxyz(13.3229, 7.0950, 27.0478)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782190 #399021
analogous
#412190 #782190 #902171
triadic
#782190 #907821 #219078
tetradic
#782190 #904121 #399021 #217190
square
#782190 #904121 #399021 #217190
split-complementary
#782190 #719021 #219041
monochromatic
#250A2C #4F165E #782190 #A12CC2 #BB54D8

Accessibility & contrast

On white

8.68
#782190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782190
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782190#FFFFFF#000000##FFFFFF
##7821901.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#773957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782190;
/* rgb */ color: rgb(120, 33, 144);
/* oklch */ color: oklch(43.7% 0.180 317.8);
Tailwind
colors: {
  custom: {
    50: '#a366b1',
    500: '#782190',
    950: '#000000',
  },
}
SCSS
$custom: #782190;
$custom-light: #a366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#782190",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 287.027,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.17961,
    "h": 317.8
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#782190
secondary
#68BB51
accent
#E64265
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782190

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

Preview Lab → · Contrast checker → · Palette generator →

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