#76339F#76339F

#76339F is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.171 H 309.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#76339F
RGBrgb(118, 51, 159)
HSLhsl(277, 51%, 41%)
HSVhsv(277, 68%, 62%)
CMYKcmyk(25.8%, 67.9%, 0%, 37.6%)
CIE-LABlab(35.44, 47.93, -46.58)
CIE-LCHlch(35.44, 66.83, 315.82°)
OKLaboklab(46.45% 0.1097 -0.1316)
OKLCHoklch(46.45% 0.171 309.8)
XYZxyz(14.9118, 8.7227, 33.6923)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76339F #5C9F33
analogous
#40339F #76339F #9F3392
triadic
#76339F #9F7633 #339F76
tetradic
#76339F #9F4033 #5C9F33 #33929F
square
#76339F #9F4033 #5C9F33 #33929F
split-complementary
#76339F #929F33 #339F40
monochromatic
#311542 #542471 #76339F #964AC5 #B179D4

Accessibility & contrast

On white

7.65
#76339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#76339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76339F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76339F#FFFFFF#000000##FFFFFF
##76339F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#22549D
Tritanopia (blue-blind)
#704A65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #76339f;
/* rgb */ color: rgb(118, 51, 159);
/* oklch */ color: oklch(46.4% 0.171 309.8);
Tailwind
colors: {
  custom: {
    50: '#a170bc',
    500: '#76339f',
    950: '#000000',
  },
}
SCSS
$custom: #76339f;
$custom-light: #a170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#76339f",
  "rgb": {
    "r": 118,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 277.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.17136,
    "h": 309.8
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#76339F
secondary
#8EBC71
accent
#DB4D83
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #76339F

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

Preview Lab → · Contrast checker → · Palette generator →

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