#76339A#76339A

#76339A is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.166 H 311.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#76339A
RGBrgb(118, 51, 154)
HSLhsl(279, 50%, 40%)
HSVhsv(279, 67%, 60%)
CMYKcmyk(23.4%, 66.9%, 0%, 39.6%)
CIE-LABlab(35.11, 46.79, -44.09)
CIE-LCHlch(35.11, 64.29, 316.70°)
OKLaboklab(46.1% 0.1101 -0.1243)
OKLCHoklch(46.1% 0.166 311.5)
XYZxyz(14.4867, 8.5527, 31.4533)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76339A #579A33
analogous
#42339A #76339A #9A338B
triadic
#76339A #9A7633 #339A76
tetradic
#76339A #9A4233 #579A33 #338B9A
square
#76339A #9A4233 #579A33 #338B9A
split-complementary
#76339A #8B9A33 #339A42
monochromatic
#30153E #53246C #76339A #9848C2 #B276D2

Accessibility & contrast

On white

7.75
#76339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#76339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76339A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76339A#FFFFFF#000000##FFFFFF
##76339A1.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)
#004F9D
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#724862
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #76339a;
/* rgb */ color: rgb(118, 51, 154);
/* oklch */ color: oklch(46.1% 0.166 311.5);
Tailwind
colors: {
  custom: {
    50: '#a170b8',
    500: '#76339a',
    950: '#000000',
  },
}
SCSS
$custom: #76339a;
$custom-light: #a170b8;
$custom-dark: #000000;
JSON
{
  "hex": "#76339a",
  "rgb": {
    "r": 118,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 279.029,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.16607,
    "h": 311.5
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#76339A
secondary
#89BA6F
accent
#DA4E7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #76339A

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

Preview Lab → · Contrast checker → · Palette generator →

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