#78288D#78288D

#78288D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 318.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#78288D
RGBrgb(120, 40, 141)
HSLhsl(288, 56%, 35%)
HSVhsv(288, 72%, 55%)
CMYKcmyk(14.9%, 71.6%, 0%, 44.7%)
CIE-LABlab(32.78, 49.42, -39.87)
CIE-LCHlch(32.78, 63.49, 321.10°)
OKLaboklab(44.21% 0.1262 -0.1118)
OKLCHoklch(44.21% 0.169 318.5)
XYZxyz(13.3116, 7.4343, 25.9279)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78288D #3D8D28
analogous
#46288D #78288D #8D286F
triadic
#78288D #8D7828 #288D78
tetradic
#78288D #8D4628 #3D8D28 #286F8D
square
#78288D #8D4628 #3D8D28 #286F8D
split-complementary
#78288D #6F8D28 #288D46
monochromatic
#270D2E #4F1A5D #78288D #A136BD #B95ED1

Accessibility & contrast

On white

8.44
#78288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78288D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78288D#FFFFFF#000000##FFFFFF
##78288D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#783B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78288d;
/* rgb */ color: rgb(120, 40, 141);
/* oklch */ color: oklch(44.2% 0.169 318.5);
Tailwind
colors: {
  custom: {
    50: '#a269af',
    500: '#78288d',
    950: '#000000',
  },
}
SCSS
$custom: #78288d;
$custom-light: #a269af;
$custom-dark: #000000;
JSON
{
  "hex": "#78288d",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 287.525,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.16861,
    "h": 318.5
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#78288D
secondary
#6DB75A
accent
#DF4968
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78288D

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

Preview Lab → · Contrast checker → · Palette generator →

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