#76167A#76167A

#76167A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.171 H 326.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#76167A
RGBrgb(118, 22, 122)
HSLhsl(298, 69%, 28%)
HSVhsv(298, 82%, 48%)
CMYKcmyk(3.3%, 82%, 0%, 52.2%)
CIE-LABlab(28.98, 51.75, -34.09)
CIE-LCHlch(28.98, 61.97, 326.63°)
OKLaboklab(41.05% 0.1423 -0.0949)
OKLCHoklch(41.05% 0.171 326.3)
XYZxyz(11.2708, 5.8313, 18.9405)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76167A #1A7A16
analogous
#44167A #76167A #7A164C
triadic
#76167A #7A7616 #167A76
tetradic
#76167A #7A4416 #1A7A16 #164C7A
square
#76167A #7A4416 #1A7A16 #164C7A
split-complementary
#76167A #4C7A16 #167A44
monochromatic
#19051A #440D46 #76167A #A81FAE #D331DA

Accessibility & contrast

On white

9.69
#76167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#76167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76167A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76167A#FFFFFF#000000##FFFFFF
##76167A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#304878
Tritanopia (blue-blind)
#792948
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76167a;
/* rgb */ color: rgb(118, 22, 122);
/* oklch */ color: oklch(41.1% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#a161a1',
    500: '#76167a',
    950: '#000000',
  },
}
SCSS
$custom: #76167a;
$custom-light: #a161a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76167a",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 297.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.17105,
    "h": 326.3
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#76167A
secondary
#41AF3D
accent
#EC3C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #76167A

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

Preview Lab → · Contrast checker → · Palette generator →

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