#76157E#76157E

#76157E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.175 H 324.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#76157E
RGBrgb(118, 21, 126)
HSLhsl(295, 71%, 29%)
HSVhsv(295, 83%, 49%)
CMYKcmyk(6.3%, 83.3%, 0%, 50.6%)
CIE-LABlab(29.15, 52.74, -36.35)
CIE-LCHlch(29.15, 64.06, 325.42°)
OKLaboklab(41.25% 0.1428 -0.1015)
OKLCHoklch(41.25% 0.175 324.6)
XYZxyz(11.5050, 5.8950, 20.2665)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76157E #1D7E15
analogous
#42157E #76157E #7E1552
triadic
#76157E #7E7615 #157E76
tetradic
#76157E #7E4215 #1D7E15 #15527E
square
#76157E #7E4215 #1D7E15 #15527E
split-complementary
#76157E #527E15 #157E42
monochromatic
#19041A #450C4A #76157E #A71EB2 #D031DD

Accessibility & contrast

On white

9.64
#76157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#76157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76157E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76157E#FFFFFF#000000##FFFFFF
##76157E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#792A4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76157e;
/* rgb */ color: rgb(118, 21, 126);
/* oklch */ color: oklch(41.3% 0.175 324.6);
Tailwind
colors: {
  custom: {
    50: '#a161a4',
    500: '#76157e',
    950: '#000000',
  },
}
SCSS
$custom: #76157e;
$custom-light: #a161a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76157e",
  "rgb": {
    "r": 118,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 295.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.17516,
    "h": 324.6
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#76157E
secondary
#45B33C
accent
#EE3A47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #76157E

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

Preview Lab → · Contrast checker → · Palette generator →

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