#79317B#79317B

#79317B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.139 H 326.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#79317B
RGBrgb(121, 49, 123)
HSLhsl(298, 43%, 34%)
HSVhsv(298, 60%, 48%)
CMYKcmyk(1.6%, 60.2%, 0%, 51.8%)
CIE-LABlab(33.33, 42.02, -27.79)
CIE-LCHlch(33.33, 50.38, 326.52°)
OKLaboklab(44.3% 0.1161 -0.0767)
OKLCHoklch(44.3% 0.139 326.5)
XYZxyz(12.5584, 7.6924, 19.5584)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79317B #337B31
analogous
#54317B #79317B #7B3158
triadic
#79317B #7B7931 #317B79
tetradic
#79317B #7B5431 #337B31 #31587B
square
#79317B #7B5431 #337B31 #31587B
split-complementary
#79317B #587B31 #317B54
monochromatic
#230E23 #4E204F #79317B #A442A7 #BF65C2

Accessibility & contrast

On white

8.27
#79317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#79317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79317B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79317B#FFFFFF#000000##FFFFFF
##79317B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487D
Deuteranopia (green-blind)
#405279
Tritanopia (blue-blind)
#7C3A51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79317b;
/* rgb */ color: rgb(121, 49, 123);
/* oklch */ color: oklch(44.3% 0.139 326.5);
Tailwind
colors: {
  custom: {
    50: '#a26ea1',
    500: '#79317b',
    950: '#000000',
  },
}
SCSS
$custom: #79317b;
$custom-light: #a26ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#79317b",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 298.378,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.13914,
    "h": 326.5
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#79317B
secondary
#61A95F
accent
#D35558
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #79317B

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

Preview Lab → · Contrast checker → · Palette generator →

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