#76178D#76178D

#76178D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 318.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#76178D
RGBrgb(118, 23, 141)
HSLhsl(288, 72%, 32%)
HSVhsv(288, 84%, 55%)
CMYKcmyk(16.3%, 83.7%, 0%, 44.7%)
CIE-LABlab(30.37, 54.97, -43.75)
CIE-LCHlch(30.37, 70.26, 321.48°)
OKLaboklab(42.44% 0.1392 -0.1232)
OKLCHoklch(42.44% 0.186 318.5)
XYZxyz(12.5847, 6.3880, 25.7643)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76178D #2E8D17
analogous
#3B178D #76178D #8D1769
triadic
#76178D #8D7617 #178D76
tetradic
#76178D #8D3B17 #2E8D17 #17698D
square
#76178D #8D3B17 #2E8D17 #17698D
split-complementary
#76178D #698D17 #178D3B
monochromatic
#1E0624 #4A0E58 #76178D #A220C2 #C03FE0

Accessibility & contrast

On white

9.22
#76178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#76178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76178D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76178D#FFFFFF#000000##FFFFFF
##76178D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#753354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76178d;
/* rgb */ color: rgb(118, 23, 141);
/* oklch */ color: oklch(42.4% 0.186 318.5);
Tailwind
colors: {
  custom: {
    50: '#a262af',
    500: '#76178d',
    950: '#000000',
  },
}
SCSS
$custom: #76178d;
$custom-light: #a262af;
$custom-dark: #000000;
JSON
{
  "hex": "#76178d",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 288.305,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.18587,
    "h": 318.5
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#76178D
secondary
#59C040
accent
#EF395D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76178D

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

Preview Lab → · Contrast checker → · Palette generator →

#76178D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva