#78288B#78288B

#78288B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 319.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#78288B
RGBrgb(120, 40, 139)
HSLhsl(288, 55%, 35%)
HSVhsv(288, 71%, 55%)
CMYKcmyk(13.7%, 71.2%, 0%, 45.5%)
CIE-LABlab(32.65, 49.01, -38.84)
CIE-LCHlch(32.65, 62.54, 321.60°)
OKLaboklab(44.08% 0.1263 -0.1088)
OKLCHoklch(44.08% 0.167 319.3)
XYZxyz(13.1641, 7.3754, 25.1513)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78288B #3B8B28
analogous
#47288B #78288B #8B286C
triadic
#78288B #8B7828 #288B78
tetradic
#78288B #8B4728 #3B8B28 #286C8B
square
#78288B #8B4728 #3B8B28 #286C8B
split-complementary
#78288B #6C8B28 #288B47
monochromatic
#260D2C #4F1A5B #78288B #A136BB #BA5DD0

Accessibility & contrast

On white

8.48
#78288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#78288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78288B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78288B#FFFFFF#000000##FFFFFF
##78288B1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2F4F89
Tritanopia (blue-blind)
#783B56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78288b;
/* rgb */ color: rgb(120, 40, 139);
/* oklch */ color: oklch(44.1% 0.167 319.3);
Tailwind
colors: {
  custom: {
    50: '#a269ad',
    500: '#78288b',
    950: '#000000',
  },
}
SCSS
$custom: #78288b;
$custom-light: #a269ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78288b",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 288.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44078,
    "c": 0.16673,
    "h": 319.3
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#78288B
secondary
#6BB659
accent
#DF4966
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78288B

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

Preview Lab → · Contrast checker → · Palette generator →

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