#76177E#76177E

#76177E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.173 H 324.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#76177E
RGBrgb(118, 23, 126)
HSLhsl(295, 69%, 29%)
HSVhsv(295, 82%, 49%)
CMYKcmyk(6.3%, 81.7%, 0%, 50.6%)
CIE-LABlab(29.34, 52.18, -36.04)
CIE-LCHlch(29.34, 63.41, 325.36°)
OKLaboklab(41.39% 0.1412 -0.1006)
OKLCHoklch(41.39% 0.173 324.5)
XYZxyz(11.5432, 5.9715, 20.2792)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76177E #1F7E17
analogous
#43177E #76177E #7E1753
triadic
#76177E #7E7617 #177E76
tetradic
#76177E #7E4317 #1F7E17 #17537E
square
#76177E #7E4317 #1F7E17 #17537E
split-complementary
#76177E #537E17 #177E43
monochromatic
#18051A #460E4A #76177E #A620B2 #CD35DA

Accessibility & contrast

On white

9.57
#76177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#76177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76177E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76177E#FFFFFF#000000##FFFFFF
##76177E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76177e;
/* rgb */ color: rgb(118, 23, 126);
/* oklch */ color: oklch(41.4% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a161a4',
    500: '#76177e',
    950: '#000000',
  },
}
SCSS
$custom: #76177e;
$custom-light: #a161a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76177e",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 295.34,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.17338,
    "h": 324.5
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#76177E
secondary
#47B33E
accent
#EC3C4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76177E

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

Preview Lab → · Contrast checker → · Palette generator →

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