#76166B#76166B

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

Color values

HEX#76166B
RGBrgb(118, 22, 107)
HSLhsl(307, 69%, 27%)
HSVhsv(307, 81%, 46%)
CMYKcmyk(0%, 81.4%, 9.3%, 53.7%)
CIE-LABlab(28.08, 49.23, -25.94)
CIE-LCHlch(28.08, 55.65, 332.22°)
OKLaboklab(40.12% 0.1426 -0.0712)
OKLCHoklch(40.12% 0.159 333.5)
XYZxyz(10.4120, 5.4878, 14.4180)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76166B #167621
analogous
#511676 #76166B #76163B
triadic
#76166B #6B7616 #166B76
tetradic
#76166B #765116 #167621 #163B76
square
#76166B #765116 #167621 #163B76
split-complementary
#76166B #3B7616 #167651
monochromatic
#1A0517 #420C3C #76166B #AA209A #D82EC5

Accessibility & contrast

On white

10.01
#76166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#76166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76166B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76166B#FFFFFF#000000##FFFFFF
##76166B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76166b;
/* rgb */ color: rgb(118, 22, 107);
/* oklch */ color: oklch(40.1% 0.159 333.5);
Tailwind
colors: {
  custom: {
    50: '#a16095',
    500: '#76166b',
    950: '#000000',
  },
}
SCSS
$custom: #76166b;
$custom-light: #a16095;
$custom-dark: #000000;
JSON
{
  "hex": "#76166b",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 306.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.15935,
    "h": 333.5
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#76166B
secondary
#3CAC49
accent
#EB503C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76166B

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

Preview Lab → · Contrast checker → · Palette generator →

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