#76176D#76176D

#76176D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.160 H 332.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#76176D
RGBrgb(118, 23, 109)
HSLhsl(306, 67%, 28%)
HSVhsv(306, 81%, 46%)
CMYKcmyk(0%, 80.5%, 7.6%, 53.7%)
CIE-LABlab(28.30, 49.26, -26.88)
CIE-LCHlch(28.30, 56.12, 331.38°)
OKLaboklab(40.31% 0.1417 -0.0739)
OKLCHoklch(40.31% 0.16 332.4)
XYZxyz(10.5380, 5.5694, 14.9850)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176D #177620
analogous
#4F1776 #76176D #76173E
triadic
#76176D #6D7617 #176D76
tetradic
#76176D #764F17 #177620 #173E76
square
#76176D #764F17 #177620 #173E76
split-complementary
#76176D #3E7617 #17764F
monochromatic
#1A0518 #430D3E #76176D #A9219C #D731C7

Accessibility & contrast

On white

9.94
#76176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76176D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176D#FFFFFF#000000##FFFFFF
##76176D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#38476B
Tritanopia (blue-blind)
#7B2241
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76176d;
/* rgb */ color: rgb(118, 23, 109);
/* oklch */ color: oklch(40.3% 0.160 332.4);
Tailwind
colors: {
  custom: {
    50: '#a16197',
    500: '#76176d',
    950: '#000000',
  },
}
SCSS
$custom: #76176d;
$custom-light: #a16197;
$custom-dark: #000000;
JSON
{
  "hex": "#76176d",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 305.684,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.15987,
    "h": 332.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#76176D
secondary
#3EAB48
accent
#EA4E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76176D

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

Preview Lab → · Contrast checker → · Palette generator →

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