#78288E#78288E

#78288E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.170 H 318.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#78288E
RGBrgb(120, 40, 142)
HSLhsl(287, 56%, 36%)
HSVhsv(287, 72%, 56%)
CMYKcmyk(15.5%, 71.8%, 0%, 44.3%)
CIE-LABlab(32.84, 49.62, -40.38)
CIE-LCHlch(32.84, 63.97, 320.86°)
OKLaboklab(44.28% 0.1261 -0.1133)
OKLCHoklch(44.28% 0.17 318.1)
XYZxyz(13.3863, 7.4642, 26.3216)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78288E #3E8E28
analogous
#45288E #78288E #8E2871
triadic
#78288E #8E7828 #288E78
tetradic
#78288E #8E4528 #3E8E28 #28718E
square
#78288E #8E4528 #3E8E28 #28718E
split-complementary
#78288E #718E28 #288E45
monochromatic
#270D2F #501B5E #78288E #A035BE #B95FD2

Accessibility & contrast

On white

8.42
#78288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78288E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78288E#FFFFFF#000000##FFFFFF
##78288E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#773C58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78288e;
/* rgb */ color: rgb(120, 40, 142);
/* oklch */ color: oklch(44.3% 0.170 318.1);
Tailwind
colors: {
  custom: {
    50: '#a26ab0',
    500: '#78288e',
    950: '#000000',
  },
}
SCSS
$custom: #78288e;
$custom-light: #a26ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#78288e",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 287.059,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.16955,
    "h": 318.1
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#78288E
secondary
#6FB75B
accent
#DF4869
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78288E

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

Preview Lab → · Contrast checker → · Palette generator →

#78288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva