#76147A#76147A

#76147A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.173 H 326.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#76147A
RGBrgb(118, 20, 122)
HSLhsl(298, 72%, 28%)
HSVhsv(298, 84%, 48%)
CMYKcmyk(3.3%, 83.6%, 0%, 52.2%)
CIE-LABlab(28.79, 52.30, -34.39)
CIE-LCHlch(28.79, 62.60, 326.67°)
OKLaboklab(40.92% 0.1439 -0.0957)
OKLCHoklch(40.92% 0.173 326.4)
XYZxyz(11.2340, 5.7578, 18.9283)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76147A #187A14
analogous
#43147A #76147A #7A144B
triadic
#76147A #7A7614 #147A76
tetradic
#76147A #7A4314 #187A14 #144B7A
square
#76147A #7A4314 #187A14 #144B7A
split-complementary
#76147A #4B7A14 #147A43
monochromatic
#19041A #430B45 #76147A #A91DAF #D52CDC

Accessibility & contrast

On white

9.76
#76147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#76147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76147A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76147A#FFFFFF#000000##FFFFFF
##76147A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#792848
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76147a;
/* rgb */ color: rgb(118, 20, 122);
/* oklch */ color: oklch(40.9% 0.173 326.4);
Tailwind
colors: {
  custom: {
    50: '#a160a1',
    500: '#76147a',
    950: '#000000',
  },
}
SCSS
$custom: #76147a;
$custom-light: #a160a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76147a",
  "rgb": {
    "r": 118,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 297.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.17281,
    "h": 326.4
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#76147A
secondary
#3FB03A
accent
#EF3940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #76147A

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

Preview Lab → · Contrast checker → · Palette generator →

#76147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva