#76156B#76156B

#76156B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.160 H 333.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#76156B
RGBrgb(118, 21, 107)
HSLhsl(307, 70%, 27%)
HSVhsv(307, 82%, 46%)
CMYKcmyk(0%, 82.2%, 9.3%, 53.7%)
CIE-LABlab(27.98, 49.52, -26.10)
CIE-LCHlch(27.98, 55.98, 332.21°)
OKLaboklab(40.05% 0.1434 -0.0717)
OKLCHoklch(40.05% 0.16 333.4)
XYZxyz(10.3933, 5.4503, 14.4117)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76156B #157620
analogous
#511576 #76156B #76153B
triadic
#76156B #6B7615 #156B76
tetradic
#76156B #765115 #157620 #153B76
square
#76156B #765115 #157620 #153B76
split-complementary
#76156B #3B7615 #157651
monochromatic
#1A0518 #420C3C #76156B #AA1E9A #D92CC6

Accessibility & contrast

On white

10.05
#76156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#76156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76156B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76156B#FFFFFF#000000##FFFFFF
##76156B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#7C2040
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76156b;
/* rgb */ color: rgb(118, 21, 107);
/* oklch */ color: oklch(40.0% 0.160 333.4);
Tailwind
colors: {
  custom: {
    50: '#a16095',
    500: '#76156b',
    950: '#000000',
  },
}
SCSS
$custom: #76156b;
$custom-light: #a16095;
$custom-dark: #000000;
JSON
{
  "hex": "#76156b",
  "rgb": {
    "r": 118,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 306.804,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.16031,
    "h": 333.4
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#76156B
secondary
#3BAC48
accent
#ED4F3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76156B

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

Preview Lab → · Contrast checker → · Palette generator →

#76156B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva