#76168A#76168A

#76168A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 319.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#76168A
RGBrgb(118, 22, 138)
HSLhsl(290, 73%, 31%)
HSVhsv(290, 84%, 54%)
CMYKcmyk(14.5%, 84.1%, 0%, 45.9%)
CIE-LABlab(30.06, 54.67, -42.39)
CIE-LCHlch(30.06, 69.18, 322.21°)
OKLaboklab(42.16% 0.1405 -0.1192)
OKLCHoklch(42.16% 0.184 319.7)
XYZxyz(12.3450, 6.2610, 24.5981)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76168A #2A8A16
analogous
#3C168A #76168A #8A1664
triadic
#76168A #8A7616 #168A76
tetradic
#76168A #8A3C16 #2A8A16 #16648A
square
#76168A #8A3C16 #2A8A16 #16648A
split-complementary
#76168A #648A16 #168A3C
monochromatic
#1C0520 #490E55 #76168A #A31EBF #C33BE0

Accessibility & contrast

On white

9.33
#76168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#76168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76168A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76168A#FFFFFF#000000##FFFFFF
##76168A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#763152
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76168a;
/* rgb */ color: rgb(118, 22, 138);
/* oklch */ color: oklch(42.2% 0.184 319.7);
Tailwind
colors: {
  custom: {
    50: '#a162ad',
    500: '#76168a',
    950: '#000000',
  },
}
SCSS
$custom: #76168a;
$custom-light: #a162ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76168a",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 289.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.18419,
    "h": 319.7
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#76168A
secondary
#54BE3E
accent
#EF3958
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76168A

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

Preview Lab → · Contrast checker → · Palette generator →

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