#76339D#76339D

#76339D is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.169 H 310.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#76339D
RGBrgb(118, 51, 157)
HSLhsl(278, 51%, 41%)
HSVhsv(278, 68%, 62%)
CMYKcmyk(24.8%, 67.5%, 0%, 38.4%)
CIE-LABlab(35.31, 47.47, -45.59)
CIE-LCHlch(35.31, 65.81, 316.16°)
OKLaboklab(46.31% 0.1099 -0.1287)
OKLCHoklch(46.31% 0.169 310.5)
XYZxyz(14.7397, 8.6538, 32.7856)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76339D #5A9D33
analogous
#41339D #76339D #9D338F
triadic
#76339D #9D7633 #339D76
tetradic
#76339D #9D4133 #5A9D33 #338F9D
square
#76339D #9D4133 #5A9D33 #338F9D
split-complementary
#76339D #8F9D33 #339D41
monochromatic
#311541 #53246F #76339D #9749C4 #B177D3

Accessibility & contrast

On white

7.69
#76339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#76339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76339D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76339D#FFFFFF#000000##FFFFFF
##76339D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#25549B
Tritanopia (blue-blind)
#714964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #76339d;
/* rgb */ color: rgb(118, 51, 157);
/* oklch */ color: oklch(46.3% 0.169 310.5);
Tailwind
colors: {
  custom: {
    50: '#a170bb',
    500: '#76339d',
    950: '#000000',
  },
}
SCSS
$custom: #76339d;
$custom-light: #a170bb;
$custom-dark: #000000;
JSON
{
  "hex": "#76339d",
  "rgb": {
    "r": 118,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 277.925,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.16924,
    "h": 310.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#76339D
secondary
#8CBB70
accent
#DA4D81
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #76339D

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

Preview Lab → · Contrast checker → · Palette generator →

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