#76126C#76126C

#76126C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.164 H 332.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#76126C
RGBrgb(118, 18, 108)
HSLhsl(306, 74%, 27%)
HSVhsv(306, 85%, 46%)
CMYKcmyk(0%, 84.7%, 8.5%, 53.7%)
CIE-LABlab(27.76, 50.49, -27.09)
CIE-LCHlch(27.76, 57.30, 331.78°)
OKLaboklab(39.91% 0.1458 -0.0745)
OKLCHoklch(39.91% 0.164 332.9)
XYZxyz(10.3944, 5.3678, 14.6731)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76126C #12761C
analogous
#4E1276 #76126C #76123A
triadic
#76126C #6C7612 #126C76
tetradic
#76126C #764E12 #12761C #123A76
square
#76126C #764E12 #12761C #123A76
split-complementary
#76126C #3A7612 #12764E
monochromatic
#1B0418 #410A3B #76126C #AB1A9D #DE25CB

Accessibility & contrast

On white

10.13
#76126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#76126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76126C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76126C#FFFFFF#000000##FFFFFF
##76126C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396E
Deuteranopia (green-blind)
#37466A
Tritanopia (blue-blind)
#7C1F40
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76126c;
/* rgb */ color: rgb(118, 18, 108);
/* oklch */ color: oklch(39.9% 0.164 332.9);
Tailwind
colors: {
  custom: {
    50: '#a15f96',
    500: '#76126c',
    950: '#000000',
  },
}
SCSS
$custom: #76126c;
$custom-light: #a15f96;
$custom-dark: #000000;
JSON
{
  "hex": "#76126c",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 306,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.16374,
    "h": 332.9
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#76126C
secondary
#37AD43
accent
#F04A38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #76126C

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

Preview Lab → · Contrast checker → · Palette generator →

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