#76168E#76168E

#76168E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.188 H 318.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#76168E
RGBrgb(118, 22, 142)
HSLhsl(288, 73%, 32%)
HSVhsv(288, 85%, 56%)
CMYKcmyk(16.9%, 84.5%, 0%, 44.3%)
CIE-LABlab(30.35, 55.43, -44.41)
CIE-LCHlch(30.35, 71.03, 321.30°)
OKLaboklab(42.45% 0.1397 -0.1251)
OKLCHoklch(42.45% 0.188 318.2)
XYZxyz(12.6399, 6.3790, 26.1514)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76168E #2E8E16
analogous
#3A168E #76168E #8E166A
triadic
#76168E #8E7616 #168E76
tetradic
#76168E #8E3A16 #2E8E16 #166A8E
square
#76168E #8E3A16 #2E8E16 #166A8E
split-complementary
#76168E #6A8E16 #168E3A
monochromatic
#1E0624 #4A0E59 #76168E #A21EC3 #C03DE1

Accessibility & contrast

On white

9.23
#76168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#76168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76168E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76168E#FFFFFF#000000##FFFFFF
##76168E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#753354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76168e;
/* rgb */ color: rgb(118, 22, 142);
/* oklch */ color: oklch(42.5% 0.188 318.2);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#76168e',
    950: '#000000',
  },
}
SCSS
$custom: #76168e;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76168e",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 288,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.18754,
    "h": 318.2
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#76168E
secondary
#59C13F
accent
#F0385D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76168E

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

Preview Lab → · Contrast checker → · Palette generator →

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