#79339D#79339D

#79339D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.170 H 312.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#79339D
RGBrgb(121, 51, 157)
HSLhsl(280, 51%, 41%)
HSVhsv(280, 68%, 62%)
CMYKcmyk(22.9%, 67.5%, 0%, 38.4%)
CIE-LABlab(35.73, 48.16, -44.89)
CIE-LCHlch(35.73, 65.84, 317.01°)
OKLaboklab(46.7% 0.1139 -0.1266)
OKLCHoklch(46.7% 0.17 312)
XYZxyz(15.1537, 8.8673, 32.8050)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79339D #579D33
analogous
#44339D #79339D #9D338C
triadic
#79339D #9D7933 #339D79
tetradic
#79339D #9D4433 #579D33 #338C9D
square
#79339D #9D4433 #579D33 #338C9D
split-complementary
#79339D #8C9D33 #339D44
monochromatic
#321541 #55246F #79339D #9A49C4 #B477D3

Accessibility & contrast

On white

7.57
#79339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#79339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79339D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79339D#FFFFFF#000000##FFFFFF
##79339D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#29559B
Tritanopia (blue-blind)
#754864
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #79339d;
/* rgb */ color: rgb(121, 51, 157);
/* oklch */ color: oklch(46.7% 0.170 312.0);
Tailwind
colors: {
  custom: {
    50: '#a370ba',
    500: '#79339d',
    950: '#000000',
  },
}
SCSS
$custom: #79339d;
$custom-light: #a370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79339d",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 279.623,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.17028,
    "h": 312
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#79339D
secondary
#8ABB70
accent
#DA4D7D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79339D

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

Preview Lab → · Contrast checker → · Palette generator →

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