#79339E#79339E

#79339E is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.171 H 311.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#79339E
RGBrgb(121, 51, 158)
HSLhsl(279, 51%, 41%)
HSVhsv(279, 68%, 62%)
CMYKcmyk(23.4%, 67.7%, 0%, 38%)
CIE-LABlab(35.79, 48.38, -45.39)
CIE-LCHlch(35.79, 66.34, 316.83°)
OKLaboklab(46.76% 0.1138 -0.128)
OKLCHoklch(46.76% 0.171 311.6)
XYZxyz(15.2394, 8.9016, 33.2565)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79339E #589E33
analogous
#43339E #79339E #9E338D
triadic
#79339E #9E7933 #339E79
tetradic
#79339E #9E4333 #589E33 #338D9E
square
#79339E #9E4333 #589E33 #338D9E
split-complementary
#79339E #8D9E33 #339E43
monochromatic
#321541 #562470 #79339E #9A4AC4 #B478D3

Accessibility & contrast

On white

7.55
#79339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#79339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79339E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79339E#FFFFFF#000000##FFFFFF
##79339E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#28569C
Tritanopia (blue-blind)
#754964
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #79339e;
/* rgb */ color: rgb(121, 51, 158);
/* oklch */ color: oklch(46.8% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#a370bb',
    500: '#79339e',
    950: '#000000',
  },
}
SCSS
$custom: #79339e;
$custom-light: #a370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#79339e",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 279.252,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.17131,
    "h": 311.6
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#79339E
secondary
#8BBC71
accent
#DB4D7E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79339E

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

Preview Lab → · Contrast checker → · Palette generator →

#79339E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva