#78308A#78308A

#78308A is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.155 H 319.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#78308A
RGBrgb(120, 48, 138)
HSLhsl(288, 48%, 36%)
HSVhsv(288, 65%, 54%)
CMYKcmyk(13%, 65.2%, 0%, 45.9%)
CIE-LABlab(33.86, 45.24, -36.28)
CIE-LCHlch(33.86, 57.99, 321.27°)
OKLaboklab(44.93% 0.1169 -0.1014)
OKLCHoklch(44.93% 0.155 319.1)
XYZxyz(13.3895, 7.9425, 24.8676)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78308A #428A30
analogous
#4B308A #78308A #8A306F
triadic
#78308A #8A7830 #308A78
tetradic
#78308A #8A4B30 #428A30 #306F8A
square
#78308A #8A4B30 #428A30 #306F8A
split-complementary
#78308A #6F8A30 #308A4B
monochromatic
#29102F #51205D #78308A #9F40B7 #B769CB

Accessibility & contrast

On white

8.11
#78308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#78308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78308A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78308A#FFFFFF#000000##FFFFFF
##78308A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#783F58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78308a;
/* rgb */ color: rgb(120, 48, 138);
/* oklch */ color: oklch(44.9% 0.155 319.1);
Tailwind
colors: {
  custom: {
    50: '#a26eac',
    500: '#78308a',
    950: '#000000',
  },
}
SCSS
$custom: #78308a;
$custom-light: #a26eac;
$custom-dark: #000000;
JSON
{
  "hex": "#78308a",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 288,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.15475,
    "h": 319.1
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#78308A
secondary
#73B264
accent
#D8506B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78308A

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

Preview Lab → · Contrast checker → · Palette generator →

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