#78337A#78337A

#78337A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.4% C 0.134 H 326.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#78337A
RGBrgb(120, 51, 122)
HSLhsl(298, 41%, 34%)
HSVhsv(298, 58%, 48%)
CMYKcmyk(1.6%, 58.2%, 0%, 52.2%)
CIE-LABlab(33.49, 40.55, -26.92)
CIE-LCHlch(33.49, 48.67, 326.42°)
OKLaboklab(44.37% 0.112 -0.0742)
OKLCHoklch(44.37% 0.134 326.5)
XYZxyz(12.4422, 7.7666, 19.2523)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78337A #357A33
analogous
#55337A #78337A #7A3359
triadic
#78337A #7A7833 #337A78
tetradic
#78337A #7A5533 #357A33 #33597A
square
#78337A #7A5533 #357A33 #33597A
split-complementary
#78337A #597A33 #337A55
monochromatic
#230F24 #4E214F #78337A #A245A5 #BD68C0

Accessibility & contrast

On white

8.22
#78337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#78337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78337A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78337A#FFFFFF#000000##FFFFFF
##78337A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#7B3C51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78337a;
/* rgb */ color: rgb(120, 51, 122);
/* oklch */ color: oklch(44.4% 0.134 326.5);
Tailwind
colors: {
  custom: {
    50: '#a16fa1',
    500: '#78337a',
    950: '#000000',
  },
}
SCSS
$custom: #78337a;
$custom-light: #a16fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#78337a",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 298.31,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.13436,
    "h": 326.5
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#78337A
secondary
#63A861
accent
#D1575A
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #78337A

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

Preview Lab → · Contrast checker → · Palette generator →

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