#782990#782990

#782990 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.170 H 317.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#782990
RGBrgb(120, 41, 144)
HSLhsl(286, 56%, 36%)
HSVhsv(286, 72%, 56%)
CMYKcmyk(16.7%, 71.5%, 0%, 43.5%)
CIE-LABlab(33.12, 49.61, -41.16)
CIE-LCHlch(33.12, 64.47, 320.32°)
OKLaboklab(44.52% 0.1249 -0.1156)
OKLCHoklch(44.52% 0.17 317.2)
XYZxyz(13.5720, 7.5931, 27.1309)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782990 #419029
analogous
#452990 #782990 #902975
triadic
#782990 #907829 #299078
tetradic
#782990 #904529 #419029 #297590
square
#782990 #904529 #419029 #297590
split-complementary
#782990 #759029 #299045
monochromatic
#290E31 #501B60 #782990 #A037C0 #B861D2

Accessibility & contrast

On white

8.34
#782990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782990
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782990#FFFFFF#000000##FFFFFF
##7829901.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#773D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782990;
/* rgb */ color: rgb(120, 41, 144);
/* oklch */ color: oklch(44.5% 0.170 317.2);
Tailwind
colors: {
  custom: {
    50: '#a26ab1',
    500: '#782990',
    950: '#000000',
  },
}
SCSS
$custom: #782990;
$custom-light: #a26ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#782990",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 286.019,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.17019,
    "h": 317.2
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#782990
secondary
#72B85D
accent
#DF496C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782990

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

Preview Lab → · Contrast checker → · Palette generator →

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