#76167D#76167D

#76167D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.173 H 325.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#76167D
RGBrgb(118, 22, 125)
HSLhsl(296, 70%, 29%)
HSVhsv(296, 82%, 49%)
CMYKcmyk(5.6%, 82.4%, 0%, 51%)
CIE-LABlab(29.18, 52.28, -35.68)
CIE-LCHlch(29.18, 63.30, 325.69°)
OKLaboklab(41.25% 0.1421 -0.0995)
OKLCHoklch(41.25% 0.173 325)
XYZxyz(11.4595, 5.9068, 19.9346)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76167D #1D7D16
analogous
#43167D #76167D #7D1651
triadic
#76167D #7D7616 #167D76
tetradic
#76167D #7D4316 #1D7D16 #16517D
square
#76167D #7D4316 #1D7D16 #16517D
split-complementary
#76167D #517D16 #167D43
monochromatic
#19051A #450D49 #76167D #A71FB1 #D032DB

Accessibility & contrast

On white

9.63
#76167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#76167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76167D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76167D#FFFFFF#000000##FFFFFF
##76167D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#2D497B
Tritanopia (blue-blind)
#792A4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76167d;
/* rgb */ color: rgb(118, 22, 125);
/* oklch */ color: oklch(41.3% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#a161a3',
    500: '#76167d',
    950: '#000000',
  },
}
SCSS
$custom: #76167d;
$custom-light: #a161a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76167d",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 295.922,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.17347,
    "h": 325
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#76167D
secondary
#45B23D
accent
#ED3B47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76167D

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

Preview Lab → · Contrast checker → · Palette generator →

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