#76176C#76176C

#76176C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.159 H 333.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#76176C
RGBrgb(118, 23, 108)
HSLhsl(306, 67%, 28%)
HSVhsv(306, 81%, 46%)
CMYKcmyk(0%, 80.5%, 8.5%, 53.7%)
CIE-LABlab(28.24, 49.09, -26.33)
CIE-LCHlch(28.24, 55.71, 331.80°)
OKLaboklab(40.25% 0.1417 -0.0723)
OKLCHoklch(40.25% 0.159 333)
XYZxyz(10.4844, 5.5480, 14.7031)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176C #177621
analogous
#511776 #76176C #76173C
triadic
#76176C #6C7617 #176C76
tetradic
#76176C #765117 #177621 #173C76
square
#76176C #765117 #177621 #173C76
split-complementary
#76176C #3C7617 #177651
monochromatic
#1A0517 #430D3D #76176C #A9219B #D731C5

Accessibility & contrast

On white

9.96
#76176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#76176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76176C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176C#FFFFFF#000000##FFFFFF
##76176C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123A6E
Deuteranopia (green-blind)
#38476A
Tritanopia (blue-blind)
#7C2241
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76176c;
/* rgb */ color: rgb(118, 23, 108);
/* oklch */ color: oklch(40.3% 0.159 333.0);
Tailwind
colors: {
  custom: {
    50: '#a16096',
    500: '#76176c',
    950: '#000000',
  },
}
SCSS
$custom: #76176c;
$custom-light: #a16096;
$custom-dark: #000000;
JSON
{
  "hex": "#76176c",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 306.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.15911,
    "h": 333
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#76176C
secondary
#3EAB49
accent
#EA503E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76176C

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

Preview Lab → · Contrast checker → · Palette generator →

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