#782580#782580

#782580 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 324.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#782580
RGBrgb(120, 37, 128)
HSLhsl(295, 55%, 32%)
HSVhsv(295, 71%, 50%)
CMYKcmyk(6.3%, 71.1%, 0%, 49.8%)
CIE-LABlab(31.52, 48.09, -33.80)
CIE-LCHlch(31.52, 58.78, 324.90°)
OKLaboklab(43.05% 0.13 -0.0941)
OKLCHoklch(43.05% 0.161 324.1)
XYZxyz(12.3032, 6.8755, 21.0970)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782580 #2D8025
analogous
#4A2580 #782580 #80255B
triadic
#782580 #807825 #258078
tetradic
#782580 #804A25 #2D8025 #255B80
square
#782580 #804A25 #2D8025 #255B80
split-complementary
#782580 #5B8025 #25804A
monochromatic
#1F0A21 #4B1751 #782580 #A533AF #C252CD

Accessibility & contrast

On white

8.84
#782580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782580
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782580#FFFFFF#000000##FFFFFF
##7825801.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#7A3450
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782580;
/* rgb */ color: rgb(120, 37, 128);
/* oklch */ color: oklch(43.1% 0.161 324.1);
Tailwind
colors: {
  custom: {
    50: '#a268a5',
    500: '#782580',
    950: '#000000',
  },
}
SCSS
$custom: #782580;
$custom-light: #a268a5;
$custom-dark: #000000;
JSON
{
  "hex": "#782580",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 294.725,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.1605,
    "h": 324.1
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#782580
secondary
#58B150
accent
#DE4956
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782580

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

Preview Lab → · Contrast checker → · Palette generator →

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