#78337B#78337B

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

Color values

HEX#78337B
RGBrgb(120, 51, 123)
HSLhsl(298, 41%, 34%)
HSVhsv(298, 59%, 48%)
CMYKcmyk(2.4%, 58.5%, 0%, 51.8%)
CIE-LABlab(33.54, 40.74, -27.47)
CIE-LCHlch(33.54, 49.14, 326.02°)
OKLaboklab(44.43% 0.1121 -0.0758)
OKLCHoklch(44.43% 0.135 325.9)
XYZxyz(12.5044, 7.7915, 19.5803)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78337B #367B33
analogous
#54337B #78337B #7B335A
triadic
#78337B #7B7833 #337B78
tetradic
#78337B #7B5433 #367B33 #335A7B
square
#78337B #7B5433 #367B33 #335A7B
split-complementary
#78337B #5A7B33 #337B54
monochromatic
#240F24 #4E2150 #78337B #A245A6 #BD68C0

Accessibility & contrast

On white

8.21
#78337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78337B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78337B#FFFFFF#000000##FFFFFF
##78337B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#7B3C52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78337b;
/* rgb */ color: rgb(120, 51, 123);
/* oklch */ color: oklch(44.4% 0.135 325.9);
Tailwind
colors: {
  custom: {
    50: '#a16fa1',
    500: '#78337b',
    950: '#000000',
  },
}
SCSS
$custom: #78337b;
$custom-light: #a16fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#78337b",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 297.5,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.13532,
    "h": 325.9
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#78337B
secondary
#64A862
accent
#D1575C
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #78337B

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

Preview Lab → · Contrast checker → · Palette generator →

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