#76187D#76187D

#76187D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.172 H 324.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#76187D
RGBrgb(118, 24, 125)
HSLhsl(296, 68%, 29%)
HSVhsv(296, 81%, 49%)
CMYKcmyk(5.6%, 80.8%, 0%, 51%)
CIE-LABlab(29.38, 51.70, -35.35)
CIE-LCHlch(29.38, 62.63, 325.64°)
OKLaboklab(41.4% 0.1405 -0.0986)
OKLCHoklch(41.4% 0.172 324.9)
XYZxyz(11.4992, 5.9863, 19.9478)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187D #1F7D18
analogous
#44187D #76187D #7D1852
triadic
#76187D #7D7618 #187D76
tetradic
#76187D #7D4418 #1F7D18 #18527D
square
#76187D #7D4418 #1F7D18 #18527D
split-complementary
#76187D #527D18 #187D44
monochromatic
#18051A #460E4A #76187D #A622B0 #CD37D9

Accessibility & contrast

On white

9.56
#76187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#76187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76187D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187D#FFFFFF#000000##FFFFFF
##76187D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#792B4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187d;
/* rgb */ color: rgb(118, 24, 125);
/* oklch */ color: oklch(41.4% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#a162a3',
    500: '#76187d',
    950: '#000000',
  },
}
SCSS
$custom: #76187d;
$custom-light: #a162a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76187d",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 295.842,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.17162,
    "h": 324.9
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#76187D
secondary
#47B23F
accent
#EB3D49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76187D

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

Preview Lab → · Contrast checker → · Palette generator →

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