#76168D#76168D

#76168D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.187 H 318.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#76168D
RGBrgb(118, 22, 141)
HSLhsl(288, 73%, 32%)
HSVhsv(288, 84%, 55%)
CMYKcmyk(16.3%, 84.4%, 0%, 44.7%)
CIE-LABlab(30.28, 55.24, -43.91)
CIE-LCHlch(30.28, 70.57, 321.52°)
OKLaboklab(42.38% 0.1399 -0.1236)
OKLCHoklch(42.38% 0.187 318.5)
XYZxyz(12.5652, 6.3491, 25.7578)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76168D #2D8D16
analogous
#3A168D #76168D #8D1669
triadic
#76168D #8D7616 #168D76
tetradic
#76168D #8D3A16 #2D8D16 #16698D
square
#76168D #8D3A16 #2D8D16 #16698D
split-complementary
#76168D #698D16 #168D3A
monochromatic
#1D0523 #4A0E58 #76168D #A21EC2 #C13DE1

Accessibility & contrast

On white

9.25
#76168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#76168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76168D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76168D#FFFFFF#000000##FFFFFF
##76168D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#753353
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76168d;
/* rgb */ color: rgb(118, 22, 141);
/* oklch */ color: oklch(42.4% 0.187 318.5);
Tailwind
colors: {
  custom: {
    50: '#a262af',
    500: '#76168d',
    950: '#000000',
  },
}
SCSS
$custom: #76168d;
$custom-light: #a262af;
$custom-dark: #000000;
JSON
{
  "hex": "#76168d",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 288.403,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.18669,
    "h": 318.5
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#76168D
secondary
#57C13E
accent
#F0385C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76168D

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

Preview Lab → · Contrast checker → · Palette generator →

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