#782289#782289

#782289 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.172 H 320.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#782289
RGBrgb(120, 34, 137)
HSLhsl(290, 60%, 34%)
HSVhsv(290, 75%, 54%)
CMYKcmyk(12.4%, 75.2%, 0%, 46.3%)
CIE-LABlab(31.68, 50.99, -39.15)
CIE-LCHlch(31.68, 64.29, 322.48°)
OKLaboklab(43.35% 0.1328 -0.1097)
OKLCHoklch(43.35% 0.172 320.4)
XYZxyz(12.8326, 6.9439, 24.3264)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782289 #338922
analogous
#442289 #782289 #892266
triadic
#782289 #897822 #228978
tetradic
#782289 #894422 #338922 #226689
square
#782289 #894422 #338922 #226689
split-complementary
#782289 #668922 #228944
monochromatic
#220A27 #4D1658 #782289 #A32EBA #BE51D4

Accessibility & contrast

On white

8.79
#782289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#782289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782289
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782289#FFFFFF#000000##FFFFFF
##7822891.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#793654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782289;
/* rgb */ color: rgb(120, 34, 137);
/* oklch */ color: oklch(43.3% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#a267ac',
    500: '#782289',
    950: '#000000',
  },
}
SCSS
$custom: #782289;
$custom-light: #a267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782289",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 290.097,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.17221,
    "h": 320.4
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#782289
secondary
#60B84F
accent
#E3445F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782289

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

Preview Lab → · Contrast checker → · Palette generator →

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