#78197A#78197A

#78197A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.169 H 327.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#78197A
RGBrgb(120, 25, 122)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 80%, 48%)
CMYKcmyk(1.6%, 79.5%, 0%, 52.2%)
CIE-LABlab(29.65, 51.29, -33.00)
CIE-LCHlch(29.65, 60.99, 327.24°)
OKLaboklab(41.6% 0.1421 -0.0917)
OKLCHoklch(41.6% 0.169 327.2)
XYZxyz(11.6060, 6.0943, 18.9736)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78197A #1B7A19
analogous
#48197A #78197A #7A194C
triadic
#78197A #7A7819 #197A78
tetradic
#78197A #7A4819 #1B7A19 #194C7A
square
#78197A #7A4819 #1B7A19 #194C7A
split-complementary
#78197A #4C7A19 #197A48
monochromatic
#190519 #460F47 #78197A #AA23AD #D337D6

Accessibility & contrast

On white

9.47
#78197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#78197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78197A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78197A#FFFFFF#000000##FFFFFF
##78197A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#7C2A49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78197a;
/* rgb */ color: rgb(120, 25, 122);
/* oklch */ color: oklch(41.6% 0.169 327.2);
Tailwind
colors: {
  custom: {
    50: '#a262a1',
    500: '#78197a',
    950: '#000000',
  },
}
SCSS
$custom: #78197a;
$custom-light: #a262a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78197a",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 298.763,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.16913,
    "h": 327.2
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#78197A
secondary
#43AF40
accent
#E93F42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #78197A

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

Preview Lab → · Contrast checker → · Palette generator →

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