#76176E#76176E

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

Color values

HEX#76176E
RGBrgb(118, 23, 110)
HSLhsl(305, 67%, 28%)
HSVhsv(305, 81%, 46%)
CMYKcmyk(0%, 80.5%, 6.8%, 53.7%)
CIE-LABlab(28.36, 49.42, -27.43)
CIE-LCHlch(28.36, 56.53, 330.97°)
OKLaboklab(40.37% 0.1418 -0.0755)
OKLCHoklch(40.37% 0.161 331.9)
XYZxyz(10.5921, 5.5910, 15.2701)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176E #17761F
analogous
#4F1776 #76176E #76173E
triadic
#76176E #6E7617 #176E76
tetradic
#76176E #764F17 #17761F #173E76
square
#76176E #764F17 #17761F #173E76
split-complementary
#76176E #3E7617 #17764F
monochromatic
#1A0518 #430D3E #76176E #A9219E #D731C9

Accessibility & contrast

On white

9.92
#76176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76176E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176E#FFFFFF#000000##FFFFFF
##76176E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#37476C
Tritanopia (blue-blind)
#7B2342
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76176e;
/* rgb */ color: rgb(118, 23, 110);
/* oklch */ color: oklch(40.4% 0.161 331.9);
Tailwind
colors: {
  custom: {
    50: '#a16198',
    500: '#76176e',
    950: '#000000',
  },
}
SCSS
$custom: #76176e;
$custom-light: #a16198;
$custom-dark: #000000;
JSON
{
  "hex": "#76176e",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 305.053,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40372,
    "c": 0.16064,
    "h": 331.9
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#76176E
secondary
#3EAB47
accent
#EA4C3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76176E

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

Preview Lab → · Contrast checker → · Palette generator →

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