#781990#781990

#781990 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.187 H 318.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#781990
RGBrgb(120, 25, 144)
HSLhsl(288, 70%, 33%)
HSVhsv(288, 83%, 56%)
CMYKcmyk(16.7%, 82.6%, 0%, 43.5%)
CIE-LABlab(31.12, 55.35, -44.38)
CIE-LCHlch(31.12, 70.94, 321.27°)
OKLaboklab(43.1% 0.1397 -0.1249)
OKLCHoklch(43.1% 0.187 318.2)
XYZxyz(13.1267, 6.7026, 26.9824)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781990 #319019
analogous
#3C1990 #781990 #90196C
triadic
#781990 #907819 #199078
tetradic
#781990 #903C19 #319019 #196C90
square
#781990 #903C19 #319019 #196C90
split-complementary
#781990 #6C9019 #19903C
monochromatic
#210728 #4D105C #781990 #A322C4 #C045DF

Accessibility & contrast

On white

8.97
#781990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#781990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781990
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781990#FFFFFF#000000##FFFFFF
##7819901.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781990;
/* rgb */ color: rgb(120, 25, 144);
/* oklch */ color: oklch(43.1% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#a363b1',
    500: '#781990',
    950: '#000000',
  },
}
SCSS
$custom: #781990;
$custom-light: #a363b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781990",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 287.899,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.18744,
    "h": 318.2
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#781990
secondary
#5EC045
accent
#ED3B5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781990

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

Preview Lab → · Contrast checker → · Palette generator →

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