#76176F#76176F

#76176F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.161 H 331.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#76176F
RGBrgb(118, 23, 111)
HSLhsl(304, 67%, 28%)
HSVhsv(304, 81%, 46%)
CMYKcmyk(0%, 80.5%, 5.9%, 53.7%)
CIE-LABlab(28.41, 49.59, -27.98)
CIE-LCHlch(28.41, 56.94, 330.56°)
OKLaboklab(40.43% 0.1418 -0.0771)
OKLCHoklch(40.43% 0.161 331.5)
XYZxyz(10.6469, 5.6129, 15.5585)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176F #17761E
analogous
#4D1776 #76176F #76173F
triadic
#76176F #6F7617 #176F76
tetradic
#76176F #764D17 #17761E #173F76
square
#76176F #764D17 #17761E #173F76
split-complementary
#76176F #3F7617 #17764D
monochromatic
#1A0518 #430D3F #76176F #A9219F #D731CB

Accessibility & contrast

On white

9.89
#76176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#76176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76176F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176F#FFFFFF#000000##FFFFFF
##76176F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#7B2442
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76176f;
/* rgb */ color: rgb(118, 23, 111);
/* oklch */ color: oklch(40.4% 0.161 331.5);
Tailwind
colors: {
  custom: {
    50: '#a16199',
    500: '#76176f',
    950: '#000000',
  },
}
SCSS
$custom: #76176f;
$custom-light: #a16199;
$custom-dark: #000000;
JSON
{
  "hex": "#76176f",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 304.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.16141,
    "h": 331.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#76176F
secondary
#3EAB46
accent
#EA4A3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #76176F

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

Preview Lab → · Contrast checker → · Palette generator →

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