#76126E#76126E

#76126E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.165 H 331.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#76126E
RGBrgb(118, 18, 110)
HSLhsl(305, 74%, 27%)
HSVhsv(305, 85%, 46%)
CMYKcmyk(0%, 84.7%, 6.8%, 53.7%)
CIE-LABlab(27.87, 50.81, -28.20)
CIE-LCHlch(27.87, 58.11, 330.97°)
OKLaboklab(40.03% 0.1458 -0.0777)
OKLCHoklch(40.03% 0.165 331.9)
XYZxyz(10.5020, 5.4109, 15.2401)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76126E #12761A
analogous
#4C1276 #76126E #76123C
triadic
#76126E #6E7612 #126E76
tetradic
#76126E #764C12 #12761A #123C76
square
#76126E #764C12 #12761A #123C76
split-complementary
#76126E #3C7612 #12764C
monochromatic
#1B0419 #410A3D #76126E #AB1AA0 #DE25CF

Accessibility & contrast

On white

10.09
#76126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#76126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76126E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76126E#FFFFFF#000000##FFFFFF
##76126E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073970
Deuteranopia (green-blind)
#35476C
Tritanopia (blue-blind)
#7B2041
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76126e;
/* rgb */ color: rgb(118, 18, 110);
/* oklch */ color: oklch(40.0% 0.165 331.9);
Tailwind
colors: {
  custom: {
    50: '#a15f98',
    500: '#76126e',
    950: '#000000',
  },
}
SCSS
$custom: #76126e;
$custom-light: #a15f98;
$custom-dark: #000000;
JSON
{
  "hex": "#76126e",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 304.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.16523,
    "h": 331.9
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#76126E
secondary
#37AD41
accent
#F04638
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #76126E

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

Preview Lab → · Contrast checker → · Palette generator →

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