#77319C#77319C

#77319C is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.171 H 311.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#77319C
RGBrgb(119, 49, 156)
HSLhsl(279, 52%, 40%)
HSVhsv(279, 69%, 61%)
CMYKcmyk(23.7%, 68.6%, 0%, 38.8%)
CIE-LABlab(35.04, 48.42, -45.41)
CIE-LCHlch(35.04, 66.38, 316.84°)
OKLaboklab(46.12% 0.1136 -0.1281)
OKLCHoklch(46.12% 0.171 311.6)
XYZxyz(14.7057, 8.5192, 32.3157)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77319C #569C31
analogous
#41319C #77319C #9C318C
triadic
#77319C #9C7731 #319C77
tetradic
#77319C #9C4131 #569C31 #318C9C
square
#77319C #9C4131 #569C31 #318C9C
split-complementary
#77319C #8C9C31 #319C41
monochromatic
#30143F #53226D #77319C #9945C5 #B274D3

Accessibility & contrast

On white

7.77
#77319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#77319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77319C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77319C#FFFFFF#000000##FFFFFF
##77319C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#25549A
Tritanopia (blue-blind)
#724762
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #77319c;
/* rgb */ color: rgb(119, 49, 156);
/* oklch */ color: oklch(46.1% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#a26fba',
    500: '#77319c',
    950: '#000000',
  },
}
SCSS
$custom: #77319c;
$custom-light: #a26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#77319c",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 279.252,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.17125,
    "h": 311.6
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#77319C
secondary
#88BB6D
accent
#DC4C7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #77319C

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

Preview Lab → · Contrast checker → · Palette generator →

#77319C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva