#78298B#78298B

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

Color values

HEX#78298B
RGBrgb(120, 41, 139)
HSLhsl(288, 54%, 35%)
HSVhsv(288, 71%, 55%)
CMYKcmyk(13.7%, 70.5%, 0%, 45.5%)
CIE-LABlab(32.80, 48.59, -38.60)
CIE-LCHlch(32.80, 62.06, 321.54°)
OKLaboklab(44.19% 0.1252 -0.1081)
OKLCHoklch(44.19% 0.165 319.2)
XYZxyz(13.1983, 7.4436, 25.1626)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298B #3C8B29
analogous
#47298B #78298B #8B296D
triadic
#78298B #8B7829 #298B78
tetradic
#78298B #8B4729 #3C8B29 #296D8B
square
#78298B #8B4729 #3C8B29 #296D8B
split-complementary
#78298B #6D8B29 #298B47
monochromatic
#260D2C #4F1B5C #78298B #A137BA #BA5FD0

Accessibility & contrast

On white

8.44
#78298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298B#FFFFFF#000000##FFFFFF
##78298B1.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)
#00488E
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#783B57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78298b;
/* rgb */ color: rgb(120, 41, 139);
/* oklch */ color: oklch(44.2% 0.165 319.2);
Tailwind
colors: {
  custom: {
    50: '#a26aad',
    500: '#78298b',
    950: '#000000',
  },
}
SCSS
$custom: #78298b;
$custom-light: #a26aad;
$custom-dark: #000000;
JSON
{
  "hex": "#78298b",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 288.367,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44186,
    "c": 0.16544,
    "h": 319.2
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#78298B
secondary
#6CB55B
accent
#DE4A67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298B

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

Preview Lab → · Contrast checker → · Palette generator →

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