#76117E#76117E

#76117E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.178 H 324.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#76117E
RGBrgb(118, 17, 126)
HSLhsl(296, 76%, 28%)
HSVhsv(296, 87%, 49%)
CMYKcmyk(6.3%, 86.5%, 0%, 50.6%)
CIE-LABlab(28.80, 53.76, -36.91)
CIE-LCHlch(28.80, 65.21, 325.52°)
OKLaboklab(41.01% 0.1456 -0.1031)
OKLCHoklch(41.01% 0.178 324.7)
XYZxyz(11.4373, 5.7596, 20.2439)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76117E #197E11
analogous
#3F117E #76117E #7E1150
triadic
#76117E #7E7611 #117E76
tetradic
#76117E #7E3F11 #197E11 #11507E
square
#76117E #7E3F11 #197E11 #11507E
split-complementary
#76117E #507E11 #117E3F
monochromatic
#19041B #430A48 #76117E #A818B4 #D427E2

Accessibility & contrast

On white

9.76
#76117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#76117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76117E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76117E#FFFFFF#000000##FFFFFF
##76117E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#79294A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76117e;
/* rgb */ color: rgb(118, 17, 126);
/* oklch */ color: oklch(41.0% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#a15fa4',
    500: '#76117e',
    950: '#000000',
  },
}
SCSS
$custom: #76117e;
$custom-light: #a15fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#76117e",
  "rgb": {
    "r": 118,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 295.596,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.17838,
    "h": 324.7
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#76117E
secondary
#40B437
accent
#F33543
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #76117E

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

Preview Lab → · Contrast checker → · Palette generator →

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