#76339C#76339C

#76339C is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.168 H 310.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#76339C
RGBrgb(118, 51, 156)
HSLhsl(278, 51%, 41%)
HSVhsv(278, 67%, 61%)
CMYKcmyk(24.4%, 67.3%, 0%, 38.8%)
CIE-LABlab(35.24, 47.24, -45.09)
CIE-LCHlch(35.24, 65.31, 316.34°)
OKLaboklab(46.24% 0.1099 -0.1273)
OKLCHoklch(46.24% 0.168 310.8)
XYZxyz(14.6547, 8.6198, 32.3378)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76339C #599C33
analogous
#41339C #76339C #9C338D
triadic
#76339C #9C7633 #339C76
tetradic
#76339C #9C4133 #599C33 #338D9C
square
#76339C #9C4133 #599C33 #338D9C
split-complementary
#76339C #8D9C33 #339C41
monochromatic
#301540 #53246E #76339C #9749C3 #B177D3

Accessibility & contrast

On white

7.71
#76339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#76339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76339C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76339C#FFFFFF#000000##FFFFFF
##76339C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#714863
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #76339c;
/* rgb */ color: rgb(118, 51, 156);
/* oklch */ color: oklch(46.2% 0.168 310.8);
Tailwind
colors: {
  custom: {
    50: '#a170ba',
    500: '#76339c',
    950: '#000000',
  },
}
SCSS
$custom: #76339c;
$custom-light: #a170ba;
$custom-dark: #000000;
JSON
{
  "hex": "#76339c",
  "rgb": {
    "r": 118,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 278.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.16818,
    "h": 310.8
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#76339C
secondary
#8BBB70
accent
#DA4E80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #76339C

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

Preview Lab → · Contrast checker → · Palette generator →

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