#78298D#78298D

#78298D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.167 H 318.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#78298D
RGBrgb(120, 41, 141)
HSLhsl(287, 55%, 36%)
HSVhsv(287, 71%, 55%)
CMYKcmyk(14.9%, 70.9%, 0%, 44.7%)
CIE-LABlab(32.92, 49.00, -39.63)
CIE-LCHlch(32.92, 63.02, 321.03°)
OKLaboklab(44.32% 0.1251 -0.1111)
OKLCHoklch(44.32% 0.167 318.4)
XYZxyz(13.3457, 7.5026, 25.9393)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298D #3E8D29
analogous
#46298D #78298D #8D2970
triadic
#78298D #8D7829 #298D78
tetradic
#78298D #8D4629 #3E8D29 #29708D
square
#78298D #8D4629 #3E8D29 #29708D
split-complementary
#78298D #708D29 #298D46
monochromatic
#270D2E #501B5E #78298D #A037BC #B960D1

Accessibility & contrast

On white

8.40
#78298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#78298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298D#FFFFFF#000000##FFFFFF
##78298D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78298d;
/* rgb */ color: rgb(120, 41, 141);
/* oklch */ color: oklch(44.3% 0.167 318.4);
Tailwind
colors: {
  custom: {
    50: '#a26aaf',
    500: '#78298d',
    950: '#000000',
  },
}
SCSS
$custom: #78298d;
$custom-light: #a26aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#78298d",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 287.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.16733,
    "h": 318.4
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#78298D
secondary
#6FB65B
accent
#DE4A69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298D

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

Preview Lab → · Contrast checker → · Palette generator →

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