#76187A#76187A

#76187A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.169 H 326.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#76187A
RGBrgb(118, 24, 122)
HSLhsl(298, 67%, 29%)
HSVhsv(298, 80%, 48%)
CMYKcmyk(3.3%, 80.3%, 0%, 52.2%)
CIE-LABlab(29.19, 51.16, -33.76)
CIE-LCHlch(29.19, 61.30, 326.58°)
OKLaboklab(41.2% 0.1407 -0.0939)
OKLCHoklch(41.2% 0.169 326.3)
XYZxyz(11.3105, 5.9108, 18.9537)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187A #1C7A18
analogous
#45187A #76187A #7A184D
triadic
#76187A #7A7618 #187A76
tetradic
#76187A #7A4518 #1C7A18 #184D7A
square
#76187A #7A4518 #1C7A18 #184D7A
split-complementary
#76187A #4D7A18 #187A45
monochromatic
#19051A #450E47 #76187A #A722AD #D135D7

Accessibility & contrast

On white

9.62
#76187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#76187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76187A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187A#FFFFFF#000000##FFFFFF
##76187A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#792A49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187a;
/* rgb */ color: rgb(118, 24, 122);
/* oklch */ color: oklch(41.2% 0.169 326.3);
Tailwind
colors: {
  custom: {
    50: '#a162a1',
    500: '#76187a',
    950: '#000000',
  },
}
SCSS
$custom: #76187a;
$custom-light: #a162a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76187a",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 297.551,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.16917,
    "h": 326.3
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#76187A
secondary
#44AF3F
accent
#EA3E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #76187A

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

Preview Lab → · Contrast checker → · Palette generator →

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