#79319A#79319A

#79319A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.170 H 313.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#79319A
RGBrgb(121, 49, 154)
HSLhsl(281, 52%, 40%)
HSVhsv(281, 68%, 60%)
CMYKcmyk(21.4%, 68.2%, 0%, 39.6%)
CIE-LABlab(35.19, 48.43, -43.93)
CIE-LCHlch(35.19, 65.39, 317.79°)
OKLaboklab(46.25% 0.1164 -0.1238)
OKLCHoklch(46.25% 0.17 313.2)
XYZxyz(14.8152, 8.5951, 31.4442)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79319A #529A31
analogous
#45319A #79319A #9A3186
triadic
#79319A #9A7931 #319A79
tetradic
#79319A #9A4531 #529A31 #31869A
square
#79319A #9A4531 #529A31 #31869A
split-complementary
#79319A #869A31 #319A45
monochromatic
#30133D #55226C #79319A #9C45C4 #B473D2

Accessibility & contrast

On white

7.72
#79319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#79319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79319A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79319A#FFFFFF#000000##FFFFFF
##79319A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2A5498
Tritanopia (blue-blind)
#764661
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #79319a;
/* rgb */ color: rgb(121, 49, 154);
/* oklch */ color: oklch(46.2% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#a36fb8',
    500: '#79319a',
    950: '#000000',
  },
}
SCSS
$custom: #79319a;
$custom-light: #a36fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#79319a",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 281.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.16992,
    "h": 313.2
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#79319A
secondary
#85BA6C
accent
#DB4D79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #79319A

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

Preview Lab → · Contrast checker → · Palette generator →

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