#76309C#76309C

#76309C is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.172 H 311.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#76309C
RGBrgb(118, 48, 156)
HSLhsl(279, 53%, 40%)
HSVhsv(279, 69%, 61%)
CMYKcmyk(24.4%, 69.2%, 0%, 38.8%)
CIE-LABlab(34.73, 48.65, -45.91)
CIE-LCHlch(34.73, 66.89, 316.66°)
OKLaboklab(45.87% 0.1134 -0.1296)
OKLCHoklch(45.87% 0.172 311.2)
XYZxyz(14.5278, 8.3661, 32.2956)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76309C #569C30
analogous
#40309C #76309C #9C308C
triadic
#76309C #9C7630 #309C76
tetradic
#76309C #9C4030 #569C30 #308C9C
square
#76309C #9C4030 #569C30 #308C9C
split-complementary
#76309C #8C9C30 #309C40
monochromatic
#2F133E #53226D #76309C #9844C5 #B273D4

Accessibility & contrast

On white

7.86
#76309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#76309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76309C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76309C#FFFFFF#000000##FFFFFF
##76309C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#714762
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #76309c;
/* rgb */ color: rgb(118, 48, 156);
/* oklch */ color: oklch(45.9% 0.172 311.2);
Tailwind
colors: {
  custom: {
    50: '#a16eba',
    500: '#76309c',
    950: '#000000',
  },
}
SCSS
$custom: #76309c;
$custom-light: #a16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#76309c",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 278.889,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.17225,
    "h": 311.2
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#76309C
secondary
#88BC6C
accent
#DC4B7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #76309C

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

Preview Lab → · Contrast checker → · Palette generator →

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