#76178E#76178E

#76178E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.187 H 318.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#76178E
RGBrgb(118, 23, 142)
HSLhsl(288, 72%, 32%)
HSVhsv(288, 84%, 56%)
CMYKcmyk(16.9%, 83.8%, 0%, 44.3%)
CIE-LABlab(30.44, 55.16, -44.26)
CIE-LCHlch(30.44, 70.72, 321.26°)
OKLaboklab(42.52% 0.139 -0.1246)
OKLCHoklch(42.52% 0.187 318.1)
XYZxyz(12.6594, 6.4179, 26.1579)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76178E #2F8E17
analogous
#3A178E #76178E #8E176B
triadic
#76178E #8E7617 #178E76
tetradic
#76178E #8E3A17 #2F8E17 #176B8E
square
#76178E #8E3A17 #2F8E17 #176B8E
split-complementary
#76178E #6B8E17 #178E3A
monochromatic
#1E0625 #4A0E59 #76178E #A220C3 #C03FE0

Accessibility & contrast

On white

9.20
#76178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#76178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76178E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76178E#FFFFFF#000000##FFFFFF
##76178E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1D4A8C
Tritanopia (blue-blind)
#753354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76178e;
/* rgb */ color: rgb(118, 23, 142);
/* oklch */ color: oklch(42.5% 0.187 318.1);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#76178e',
    950: '#000000',
  },
}
SCSS
$custom: #76178e;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76178e",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 287.899,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42517,
    "c": 0.18672,
    "h": 318.1
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#76178E
secondary
#5AC040
accent
#EF395E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76178E

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

Preview Lab → · Contrast checker → · Palette generator →

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