#78319F#78319F

#78319F is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.175 H 311.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#78319F
RGBrgb(120, 49, 159)
HSLhsl(279, 53%, 41%)
HSVhsv(279, 69%, 62%)
CMYKcmyk(24.5%, 69.2%, 0%, 37.6%)
CIE-LABlab(35.39, 49.31, -46.66)
CIE-LCHlch(35.39, 67.88, 316.58°)
OKLaboklab(46.46% 0.1147 -0.1318)
OKLCHoklch(46.46% 0.175 311)
XYZxyz(15.1009, 8.6933, 33.6766)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78319F #589F31
analogous
#41319F #78319F #9F318F
triadic
#78319F #9F7831 #319F78
tetradic
#78319F #9F4131 #589F31 #318F9F
square
#78319F #9F4131 #589F31 #318F9F
split-complementary
#78319F #8F9F31 #319F41
monochromatic
#311441 #552370 #78319F #9947C6 #B376D5

Accessibility & contrast

On white

7.67
#78319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#78319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78319F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78319F#FFFFFF#000000##FFFFFF
##78319F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#22549D
Tritanopia (blue-blind)
#734864
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #78319f;
/* rgb */ color: rgb(120, 49, 159);
/* oklch */ color: oklch(46.5% 0.175 311.0);
Tailwind
colors: {
  custom: {
    50: '#a36fbc',
    500: '#78319f',
    950: '#000000',
  },
}
SCSS
$custom: #78319f;
$custom-light: #a36fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#78319f",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 278.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.17469,
    "h": 311
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#78319F
secondary
#8BBD6F
accent
#DC4C7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #78319F

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

Preview Lab → · Contrast checker → · Palette generator →

#78319F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva