#76166C#76166C

#76166C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.160 H 332.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#76166C
RGBrgb(118, 22, 108)
HSLhsl(306, 69%, 27%)
HSVhsv(306, 81%, 46%)
CMYKcmyk(0%, 81.4%, 8.5%, 53.7%)
CIE-LABlab(28.14, 49.39, -26.49)
CIE-LCHlch(28.14, 56.05, 331.79°)
OKLaboklab(40.18% 0.1426 -0.0728)
OKLCHoklch(40.18% 0.16 332.9)
XYZxyz(10.4650, 5.5090, 14.6966)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76166C #167620
analogous
#501676 #76166C #76163C
triadic
#76166C #6C7616 #166C76
tetradic
#76166C #765016 #167620 #163C76
square
#76166C #765016 #167620 #163C76
split-complementary
#76166C #3C7616 #167650
monochromatic
#1A0518 #420C3D #76166C #AA209B #D82EC6

Accessibility & contrast

On white

9.99
#76166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76166C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76166C#FFFFFF#000000##FFFFFF
##76166C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6E
Deuteranopia (green-blind)
#38476A
Tritanopia (blue-blind)
#7C2140
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76166c;
/* rgb */ color: rgb(118, 22, 108);
/* oklch */ color: oklch(40.2% 0.160 332.9);
Tailwind
colors: {
  custom: {
    50: '#a16096',
    500: '#76166c',
    950: '#000000',
  },
}
SCSS
$custom: #76166c;
$custom-light: #a16096;
$custom-dark: #000000;
JSON
{
  "hex": "#76166c",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 306.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.16009,
    "h": 332.9
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#76166C
secondary
#3CAC48
accent
#EB4F3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76166C

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

Preview Lab → · Contrast checker → · Palette generator →

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