#76309A#76309A

#76309A is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.170 H 311.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#76309A
RGBrgb(118, 48, 154)
HSLhsl(280, 52%, 40%)
HSVhsv(280, 69%, 60%)
CMYKcmyk(23.4%, 68.8%, 0%, 39.6%)
CIE-LABlab(34.60, 48.21, -44.91)
CIE-LCHlch(34.60, 65.89, 317.03°)
OKLaboklab(45.73% 0.1136 -0.1267)
OKLCHoklch(45.73% 0.17 311.9)
XYZxyz(14.3598, 8.2989, 31.4110)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76309A #549A30
analogous
#41309A #76309A #9A3089
triadic
#76309A #9A7630 #309A76
tetradic
#76309A #9A4130 #549A30 #30899A
square
#76309A #9A4130 #549A30 #30899A
split-complementary
#76309A #899A30 #309A41
monochromatic
#2E133D #52216B #76309A #9843C4 #B272D3

Accessibility & contrast

On white

7.90
#76309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#76309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76309A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76309A#FFFFFF#000000##FFFFFF
##76309A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#724661
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #76309a;
/* rgb */ color: rgb(118, 48, 154);
/* oklch */ color: oklch(45.7% 0.170 311.9);
Tailwind
colors: {
  custom: {
    50: '#a16eb8',
    500: '#76309a',
    950: '#000000',
  },
}
SCSS
$custom: #76309a;
$custom-light: #a16eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#76309a",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 279.623,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.17018,
    "h": 311.9
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#76309A
secondary
#86BB6B
accent
#DC4C7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #76309A

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

Preview Lab → · Contrast checker → · Palette generator →

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