#76319F#76319F

#76319F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.174 H 310.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#76319F
RGBrgb(118, 49, 159)
HSLhsl(278, 53%, 41%)
HSVhsv(278, 69%, 62%)
CMYKcmyk(25.8%, 69.2%, 0%, 37.6%)
CIE-LABlab(35.11, 48.87, -47.12)
CIE-LCHlch(35.11, 67.89, 316.04°)
OKLaboklab(46.2% 0.112 -0.1332)
OKLCHoklch(46.2% 0.174 310)
XYZxyz(14.8263, 8.5517, 33.6638)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76319F #5A9F31
analogous
#3F319F #76319F #9F3191
triadic
#76319F #9F7631 #319F76
tetradic
#76319F #9F3F31 #5A9F31 #31919F
square
#76319F #9F3F31 #5A9F31 #31919F
split-complementary
#76319F #919F31 #319F3F
monochromatic
#311441 #532370 #76319F #9747C6 #B176D5

Accessibility & contrast

On white

7.75
#76319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#76319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76319F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76319F#FFFFFF#000000##FFFFFF
##76319F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#704864
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #76319f;
/* rgb */ color: rgb(118, 49, 159);
/* oklch */ color: oklch(46.2% 0.174 310.0);
Tailwind
colors: {
  custom: {
    50: '#a16fbc',
    500: '#76319f',
    950: '#000000',
  },
}
SCSS
$custom: #76319f;
$custom-light: #a16fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#76319f",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 277.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.17403,
    "h": 310
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#76319F
secondary
#8CBD6F
accent
#DC4C81
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #76319F

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

Preview Lab → · Contrast checker → · Palette generator →

#76319F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva