#76176B#76176B

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

Color values

HEX#76176B
RGBrgb(118, 23, 107)
HSLhsl(307, 67%, 28%)
HSVhsv(307, 81%, 46%)
CMYKcmyk(0%, 80.5%, 9.3%, 53.7%)
CIE-LABlab(28.19, 48.93, -25.77)
CIE-LCHlch(28.19, 55.31, 332.22°)
OKLaboklab(40.2% 0.1417 -0.0707)
OKLCHoklch(40.2% 0.158 333.5)
XYZxyz(10.4315, 5.5268, 14.4244)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76176B #177622
analogous
#511776 #76176B #76173C
triadic
#76176B #6B7617 #176B76
tetradic
#76176B #765117 #177622 #173C76
square
#76176B #765117 #177622 #173C76
split-complementary
#76176B #3C7617 #177651
monochromatic
#1A0517 #430D3D #76176B #A92199 #D731C4

Accessibility & contrast

On white

9.98
#76176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76176B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76176B#FFFFFF#000000##FFFFFF
##76176B1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6D
Deuteranopia (green-blind)
#394769
Tritanopia (blue-blind)
#7C2140
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76176b;
/* rgb */ color: rgb(118, 23, 107);
/* oklch */ color: oklch(40.2% 0.158 333.5);
Tailwind
colors: {
  custom: {
    50: '#a16095',
    500: '#76176b',
    950: '#000000',
  },
}
SCSS
$custom: #76176b;
$custom-light: #a16095;
$custom-dark: #000000;
JSON
{
  "hex": "#76176b",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 306.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.15835,
    "h": 333.5
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#76176B
secondary
#3EAB4A
accent
#EA523E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76176B

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

Preview Lab → · Contrast checker → · Palette generator →

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