#78337D#78337D

#78337D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 324.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#78337D
RGBrgb(120, 51, 125)
HSLhsl(296, 42%, 35%)
HSVhsv(296, 59%, 49%)
CMYKcmyk(4%, 59.2%, 0%, 51%)
CIE-LABlab(33.65, 41.14, -28.55)
CIE-LCHlch(33.65, 50.07, 325.24°)
OKLaboklab(44.54% 0.1123 -0.0789)
OKLCHoklch(44.54% 0.137 324.9)
XYZxyz(12.6309, 7.8421, 20.2464)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78337D #387D33
analogous
#53337D #78337D #7D335D
triadic
#78337D #7D7833 #337D78
tetradic
#78337D #7D5333 #387D33 #335D7D
square
#78337D #7D5333 #387D33 #335D7D
split-complementary
#78337D #5D7D33 #337D53
monochromatic
#251026 #4E2152 #78337D #A245A8 #BC69C2

Accessibility & contrast

On white

8.18
#78337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#78337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78337D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78337D#FFFFFF#000000##FFFFFF
##78337D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#7B3D53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78337d;
/* rgb */ color: rgb(120, 51, 125);
/* oklch */ color: oklch(44.5% 0.137 324.9);
Tailwind
colors: {
  custom: {
    50: '#a16fa3',
    500: '#78337d',
    950: '#000000',
  },
}
SCSS
$custom: #78337d;
$custom-light: #a16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#78337d",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 295.946,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.13727,
    "h": 324.9
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#78337D
secondary
#67AA62
accent
#D2565E
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78337D

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

Preview Lab → · Contrast checker → · Palette generator →

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