#782389#782389

#782389 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 320.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#782389
RGBrgb(120, 35, 137)
HSLhsl(290, 59%, 34%)
HSVhsv(290, 74%, 54%)
CMYKcmyk(12.4%, 74.5%, 0%, 46.3%)
CIE-LABlab(31.81, 50.61, -38.94)
CIE-LCHlch(31.81, 63.86, 322.43°)
OKLaboklab(43.44% 0.1318 -0.1091)
OKLCHoklch(43.44% 0.171 320.4)
XYZxyz(12.8616, 7.0019, 24.3361)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782389 #348923
analogous
#452389 #782389 #892367
triadic
#782389 #897823 #238978
tetradic
#782389 #894523 #348923 #236789
square
#782389 #894523 #348923 #236789
split-complementary
#782389 #678923 #238945
monochromatic
#230A28 #4D1758 #782389 #A32FBA #BE53D3

Accessibility & contrast

On white

8.75
#782389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#782389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782389
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782389#FFFFFF#000000##FFFFFF
##7823891.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782389;
/* rgb */ color: rgb(120, 35, 137);
/* oklch */ color: oklch(43.4% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#a267ac',
    500: '#782389',
    950: '#000000',
  },
}
SCSS
$custom: #782389;
$custom-light: #a267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782389",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 290,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.17105,
    "h": 320.4
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#782389
secondary
#62B751
accent
#E24560
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782389

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

Preview Lab → · Contrast checker → · Palette generator →

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