#76176A#76176A

#76176A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.158 H 334.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#76176A
RGBrgb(118, 23, 106)
HSLhsl(308, 67%, 28%)
HSVhsv(308, 81%, 46%)
CMYKcmyk(0%, 80.5%, 10.2%, 53.7%)
CIE-LABlab(28.13, 48.77, -25.22)
CIE-LCHlch(28.13, 54.91, 332.66°)
OKLaboklab(40.14% 0.1416 -0.0691)
OKLCHoklch(40.14% 0.158 334)
XYZxyz(10.3792, 5.5059, 14.1490)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176A #177623
analogous
#521776 #76176A #76173A
triadic
#76176A #6A7617 #176A76
tetradic
#76176A #765217 #177623 #173A76
square
#76176A #765217 #177623 #173A76
split-complementary
#76176A #3A7617 #177652
monochromatic
#1A0517 #430D3C #76176A #A92198 #D731C2

Accessibility & contrast

On white

10.00
#76176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#76176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76176A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176A#FFFFFF#000000##FFFFFF
##76176A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6C
Deuteranopia (green-blind)
#394768
Tritanopia (blue-blind)
#7C2140
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76176a;
/* rgb */ color: rgb(118, 23, 106);
/* oklch */ color: oklch(40.1% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#a16095',
    500: '#76176a',
    950: '#000000',
  },
}
SCSS
$custom: #76176a;
$custom-light: #a16095;
$custom-dark: #000000;
JSON
{
  "hex": "#76176a",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 307.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.1576,
    "h": 334
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#76176A
secondary
#3EAB4B
accent
#EA533E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76176A

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

Preview Lab → · Contrast checker → · Palette generator →

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