#78337C#78337C

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

Color values

HEX#78337C
RGBrgb(120, 51, 124)
HSLhsl(297, 42%, 34%)
HSVhsv(297, 59%, 49%)
CMYKcmyk(3.2%, 58.9%, 0%, 51.4%)
CIE-LABlab(33.60, 40.94, -28.01)
CIE-LCHlch(33.60, 49.60, 325.62°)
OKLaboklab(44.48% 0.1122 -0.0774)
OKLCHoklch(44.48% 0.136 325.4)
XYZxyz(12.5674, 7.8167, 19.9117)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78337C #377C33
analogous
#54337C #78337C #7C335C
triadic
#78337C #7C7833 #337C78
tetradic
#78337C #7C5433 #377C33 #335C7C
square
#78337C #7C5433 #377C33 #335C7C
split-complementary
#78337C #5C7C33 #337C54
monochromatic
#240F25 #4E2151 #78337C #A245A7 #BC68C1

Accessibility & contrast

On white

8.19
#78337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#78337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78337C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78337C#FFFFFF#000000##FFFFFF
##78337C1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#40527A
Tritanopia (blue-blind)
#7B3C52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78337c;
/* rgb */ color: rgb(120, 51, 124);
/* oklch */ color: oklch(44.5% 0.136 325.4);
Tailwind
colors: {
  custom: {
    50: '#a16fa2',
    500: '#78337c',
    950: '#000000',
  },
}
SCSS
$custom: #78337c;
$custom-light: #a16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#78337c",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 296.712,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.13629,
    "h": 325.4
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#78337C
secondary
#66A962
accent
#D2565D
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78337C

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

Preview Lab → · Contrast checker → · Palette generator →

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