#76126D#76126D

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

Color values

HEX#76126D
RGBrgb(118, 18, 109)
HSLhsl(305, 74%, 27%)
HSVhsv(305, 85%, 46%)
CMYKcmyk(0%, 84.7%, 7.6%, 53.7%)
CIE-LABlab(27.82, 50.65, -27.65)
CIE-LCHlch(27.82, 57.71, 331.38°)
OKLaboklab(39.97% 0.1458 -0.0761)
OKLCHoklch(39.97% 0.164 332.4)
XYZxyz(10.4479, 5.3892, 14.9550)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76126D #12761B
analogous
#4D1276 #76126D #76123B
triadic
#76126D #6D7612 #126D76
tetradic
#76126D #764D12 #12761B #123B76
square
#76126D #764D12 #12761B #123B76
split-complementary
#76126D #3B7612 #12764D
monochromatic
#1B0419 #410A3C #76126D #AB1A9E #DE25CD

Accessibility & contrast

On white

10.11
#76126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76126D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76126D#FFFFFF#000000##FFFFFF
##76126D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09396F
Deuteranopia (green-blind)
#36466B
Tritanopia (blue-blind)
#7B1F40
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #76126d;
/* rgb */ color: rgb(118, 18, 109);
/* oklch */ color: oklch(40.0% 0.164 332.4);
Tailwind
colors: {
  custom: {
    50: '#a15f97',
    500: '#76126d',
    950: '#000000',
  },
}
SCSS
$custom: #76126d;
$custom-light: #a15f97;
$custom-dark: #000000;
JSON
{
  "hex": "#76126d",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 305.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.16448,
    "h": 332.4
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#76126D
secondary
#37AD42
accent
#F04838
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #76126D

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

Preview Lab → · Contrast checker → · Palette generator →

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