#76167F#76167F

#76167F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 324.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#76167F
RGBrgb(118, 22, 127)
HSLhsl(295, 70%, 29%)
HSVhsv(295, 83%, 50%)
CMYKcmyk(7.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(29.31, 52.64, -36.73)
CIE-LCHlch(29.31, 64.19, 325.10°)
OKLaboklab(41.39% 0.1419 -0.1026)
OKLCHoklch(41.39% 0.175 324.1)
XYZxyz(11.5886, 5.9584, 20.6143)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76167F #1F7F16
analogous
#42167F #76167F #7F1654
triadic
#76167F #7F7616 #167F76
tetradic
#76167F #7F4216 #1F7F16 #16547F
square
#76167F #7F4216 #1F7F16 #16547F
split-complementary
#76167F #547F16 #167F42
monochromatic
#18051A #460D4B #76167F #A61FB3 #CD34DC

Accessibility & contrast

On white

9.58
#76167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#76167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76167F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76167F#FFFFFF#000000##FFFFFF
##76167F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#782B4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76167f;
/* rgb */ color: rgb(118, 22, 127);
/* oklch */ color: oklch(41.4% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#a161a5',
    500: '#76167f',
    950: '#000000',
  },
}
SCSS
$custom: #76167f;
$custom-light: #a161a5;
$custom-dark: #000000;
JSON
{
  "hex": "#76167f",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 294.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.17511,
    "h": 324.1
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#76167F
secondary
#47B43D
accent
#ED3B4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76167F

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

Preview Lab → · Contrast checker → · Palette generator →

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