#78307A#78307A

#78307A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.139 H 326.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#78307A
RGBrgb(120, 48, 122)
HSLhsl(298, 44%, 33%)
HSVhsv(298, 61%, 48%)
CMYKcmyk(1.6%, 60.7%, 0%, 52.2%)
CIE-LABlab(32.95, 42.03, -27.78)
CIE-LCHlch(32.95, 50.38, 326.54°)
OKLaboklab(43.97% 0.1161 -0.0767)
OKLCHoklch(43.97% 0.139 326.6)
XYZxyz(12.3153, 7.5129, 19.2100)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78307A #327A30
analogous
#53307A #78307A #7A3057
triadic
#78307A #7A7830 #307A78
tetradic
#78307A #7A5330 #327A30 #30577A
square
#78307A #7A5330 #327A30 #30577A
split-complementary
#78307A #577A30 #307A53
monochromatic
#220D22 #4D1F4E #78307A #A341A6 #BF63C2

Accessibility & contrast

On white

8.39
#78307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#78307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78307A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78307A#FFFFFF#000000##FFFFFF
##78307A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#7B3950
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78307a;
/* rgb */ color: rgb(120, 48, 122);
/* oklch */ color: oklch(44.0% 0.139 326.6);
Tailwind
colors: {
  custom: {
    50: '#a16da1',
    500: '#78307a',
    950: '#000000',
  },
}
SCSS
$custom: #78307a;
$custom-light: #a16da1;
$custom-dark: #000000;
JSON
{
  "hex": "#78307a",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 298.378,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.13917,
    "h": 326.6
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#78307A
secondary
#5FA95D
accent
#D35558
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #78307A

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

Preview Lab → · Contrast checker → · Palette generator →

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