#78307D#78307D

#78307D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.142 H 325.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#78307D
RGBrgb(120, 48, 125)
HSLhsl(296, 45%, 34%)
HSVhsv(296, 62%, 49%)
CMYKcmyk(4%, 61.6%, 0%, 51%)
CIE-LABlab(33.11, 42.61, -29.40)
CIE-LCHlch(33.11, 51.77, 325.40°)
OKLaboklab(44.14% 0.1164 -0.0814)
OKLCHoklch(44.14% 0.142 325)
XYZxyz(12.5041, 7.5884, 20.2041)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78307D #357D30
analogous
#52307D #78307D #7D305C
triadic
#78307D #7D7830 #307D78
tetradic
#78307D #7D5230 #357D30 #305C7D
square
#78307D #7D5230 #357D30 #305C7D
split-complementary
#78307D #5C7D30 #307D52
monochromatic
#230E25 #4E1F51 #78307D #A241A9 #BD64C3

Accessibility & contrast

On white

8.34
#78307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78307D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78307D#FFFFFF#000000##FFFFFF
##78307D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#7B3B52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78307d;
/* rgb */ color: rgb(120, 48, 125);
/* oklch */ color: oklch(44.1% 0.142 325.0);
Tailwind
colors: {
  custom: {
    50: '#a16da3',
    500: '#78307d',
    950: '#000000',
  },
}
SCSS
$custom: #78307d;
$custom-light: #a16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#78307d",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 296.104,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.14202,
    "h": 325
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#78307D
secondary
#63AB5E
accent
#D4545C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78307D

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

Preview Lab → · Contrast checker → · Palette generator →

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