#76126F#76126F

#76126F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.166 H 331.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#76126F
RGBrgb(118, 18, 111)
HSLhsl(304, 74%, 27%)
HSVhsv(304, 85%, 46%)
CMYKcmyk(0%, 84.7%, 5.9%, 53.7%)
CIE-LABlab(27.93, 50.97, -28.74)
CIE-LCHlch(27.93, 58.52, 330.58°)
OKLaboklab(40.09% 0.1458 -0.0793)
OKLCHoklch(40.09% 0.166 331.5)
XYZxyz(10.5568, 5.4328, 15.5285)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76126F #127619
analogous
#4B1276 #76126F #76123D
triadic
#76126F #6F7612 #126F76
tetradic
#76126F #764B12 #127619 #123D76
square
#76126F #764B12 #127619 #123D76
split-complementary
#76126F #3D7612 #12764B
monochromatic
#1B0419 #410A3D #76126F #AB1AA1 #DE25D1

Accessibility & contrast

On white

10.07
#76126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#76126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76126F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76126F#FFFFFF#000000##FFFFFF
##76126F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053971
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#7B2141
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76126f;
/* rgb */ color: rgb(118, 18, 111);
/* oklch */ color: oklch(40.1% 0.166 331.5);
Tailwind
colors: {
  custom: {
    50: '#a15f99',
    500: '#76126f',
    950: '#000000',
  },
}
SCSS
$custom: #76126f;
$custom-light: #a15f99;
$custom-dark: #000000;
JSON
{
  "hex": "#76126f",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 304.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.16599,
    "h": 331.5
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#76126F
secondary
#37AD3F
accent
#F04538
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #76126F

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

Preview Lab → · Contrast checker → · Palette generator →

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