#76157C#76157C

#76157C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.174 H 325.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#76157C
RGBrgb(118, 21, 124)
HSLhsl(297, 71%, 28%)
HSVhsv(297, 83%, 49%)
CMYKcmyk(4.8%, 83.1%, 0%, 51.4%)
CIE-LABlab(29.02, 52.39, -35.30)
CIE-LCHlch(29.02, 63.17, 326.02°)
OKLaboklab(41.12% 0.143 -0.0984)
OKLCHoklch(41.12% 0.174 325.5)
XYZxyz(11.3772, 5.8439, 19.5936)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76157C #1B7C15
analogous
#42157C #76157C #7C154E
triadic
#76157C #7C7615 #157C76
tetradic
#76157C #7C4215 #1B7C15 #154E7C
square
#76157C #7C4215 #1B7C15 #154E7C
split-complementary
#76157C #4E7C15 #157C42
monochromatic
#19041A #440C48 #76157C #A81EB0 #D230DC

Accessibility & contrast

On white

9.68
#76157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#76157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76157C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76157C#FFFFFF#000000##FFFFFF
##76157C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#2E487A
Tritanopia (blue-blind)
#792949
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76157c;
/* rgb */ color: rgb(118, 21, 124);
/* oklch */ color: oklch(41.1% 0.174 325.5);
Tailwind
colors: {
  custom: {
    50: '#a161a2',
    500: '#76157c',
    950: '#000000',
  },
}
SCSS
$custom: #76157c;
$custom-light: #a161a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76157c",
  "rgb": {
    "r": 118,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 296.505,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.17355,
    "h": 325.5
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#76157C
secondary
#42B13C
accent
#EE3A44
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #76157C

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

Preview Lab → · Contrast checker → · Palette generator →

#76157C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva