#782880#782880

#782880 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.157 H 324.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#782880
RGBrgb(120, 40, 128)
HSLhsl(295, 52%, 33%)
HSVhsv(295, 69%, 50%)
CMYKcmyk(6.3%, 68.8%, 0%, 49.8%)
CIE-LABlab(31.97, 46.84, -33.09)
CIE-LCHlch(31.97, 57.35, 324.76°)
OKLaboklab(43.37% 0.1266 -0.092)
OKLCHoklch(43.37% 0.157 324)
XYZxyz(12.4005, 7.0699, 21.1294)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782880 #308028
analogous
#4C2880 #782880 #80285C
triadic
#782880 #807828 #288078
tetradic
#782880 #804C28 #308028 #285C80
square
#782880 #804C28 #308028 #285C80
split-complementary
#782880 #5C8028 #28804C
monochromatic
#210B23 #4C1951 #782880 #A437AF #C058CB

Accessibility & contrast

On white

8.70
#782880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#782880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782880
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782880#FFFFFF#000000##FFFFFF
##7828801.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134583
Deuteranopia (green-blind)
#374E7E
Tritanopia (blue-blind)
#7A3650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782880;
/* rgb */ color: rgb(120, 40, 128);
/* oklch */ color: oklch(43.4% 0.157 324.0);
Tailwind
colors: {
  custom: {
    50: '#a269a5',
    500: '#782880',
    950: '#000000',
  },
}
SCSS
$custom: #782880;
$custom-light: #a269a5;
$custom-dark: #000000;
JSON
{
  "hex": "#782880",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 294.545,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.15652,
    "h": 324
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#782880
secondary
#5CB054
accent
#DC4C59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782880

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

Preview Lab → · Contrast checker → · Palette generator →

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