#78298A#78298A

#78298A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.164 H 319.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#78298A
RGBrgb(120, 41, 138)
HSLhsl(289, 54%, 35%)
HSVhsv(289, 70%, 54%)
CMYKcmyk(13%, 70.3%, 0%, 45.9%)
CIE-LABlab(32.73, 48.39, -38.09)
CIE-LCHlch(32.73, 61.58, 321.79°)
OKLaboklab(44.12% 0.1253 -0.1066)
OKLCHoklch(44.12% 0.164 319.6)
XYZxyz(13.1255, 7.4146, 24.7796)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298A #3B8A29
analogous
#47298A #78298A #8A296B
triadic
#78298A #8A7829 #298A78
tetradic
#78298A #8A4729 #3B8A29 #296B8A
square
#78298A #8A4729 #3B8A29 #296B8A
split-complementary
#78298A #6B8A29 #298A47
monochromatic
#260D2C #4F1B5B #78298A #A137B9 #BA5ECF

Accessibility & contrast

On white

8.46
#78298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#78298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298A#FFFFFF#000000##FFFFFF
##78298A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#783B56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78298a;
/* rgb */ color: rgb(120, 41, 138);
/* oklch */ color: oklch(44.1% 0.164 319.6);
Tailwind
colors: {
  custom: {
    50: '#a26aad',
    500: '#78298a',
    950: '#000000',
  },
}
SCSS
$custom: #78298a;
$custom-light: #a26aad;
$custom-dark: #000000;
JSON
{
  "hex": "#78298a",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 288.866,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.16449,
    "h": 319.6
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#78298A
secondary
#6BB55A
accent
#DE4A66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298A

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

Preview Lab → · Contrast checker → · Palette generator →

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