#78307B#78307B

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

Color values

HEX#78307B
RGBrgb(120, 48, 123)
HSLhsl(298, 44%, 34%)
HSVhsv(298, 61%, 48%)
CMYKcmyk(2.4%, 61%, 0%, 51.8%)
CIE-LABlab(33.00, 42.22, -28.32)
CIE-LCHlch(33.00, 50.84, 326.15°)
OKLaboklab(44.03% 0.1162 -0.0783)
OKLCHoklch(44.03% 0.14 326)
XYZxyz(12.3776, 7.5378, 19.5380)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78307B #337B30
analogous
#52307B #78307B #7B3058
triadic
#78307B #7B7830 #307B78
tetradic
#78307B #7B5230 #337B30 #30587B
square
#78307B #7B5230 #337B30 #30587B
split-complementary
#78307B #587B30 #307B52
monochromatic
#220E23 #4D1F4F #78307B #A341A7 #BE63C2

Accessibility & contrast

On white

8.38
#78307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78307B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78307B#FFFFFF#000000##FFFFFF
##78307B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#3F5179
Tritanopia (blue-blind)
#7B3A51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78307b;
/* rgb */ color: rgb(120, 48, 123);
/* oklch */ color: oklch(44.0% 0.140 326.0);
Tailwind
colors: {
  custom: {
    50: '#a16da1',
    500: '#78307b',
    950: '#000000',
  },
}
SCSS
$custom: #78307b;
$custom-light: #a16da1;
$custom-dark: #000000;
JSON
{
  "hex": "#78307b",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 297.6,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.14012,
    "h": 326
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#78307B
secondary
#60A95D
accent
#D45459
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #78307B

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

Preview Lab → · Contrast checker → · Palette generator →

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