#76187E#76187E

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

Color values

HEX#76187E
RGBrgb(118, 24, 126)
HSLhsl(295, 68%, 29%)
HSVhsv(295, 81%, 49%)
CMYKcmyk(6.3%, 81%, 0%, 50.6%)
CIE-LABlab(29.44, 51.88, -35.88)
CIE-LCHlch(29.44, 63.08, 325.33°)
OKLaboklab(41.46% 0.1404 -0.1001)
OKLCHoklch(41.46% 0.172 324.5)
XYZxyz(11.5634, 6.0119, 20.2860)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187E #207E18
analogous
#43187E #76187E #7E1853
triadic
#76187E #7E7618 #187E76
tetradic
#76187E #7E4318 #207E18 #18537E
square
#76187E #7E4318 #207E18 #18537E
split-complementary
#76187E #537E18 #187E43
monochromatic
#18051A #460E4B #76187E #A622B1 #CC37D9

Accessibility & contrast

On white

9.54
#76187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76187E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187E#FFFFFF#000000##FFFFFF
##76187E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#782C4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187e;
/* rgb */ color: rgb(118, 24, 126);
/* oklch */ color: oklch(41.5% 0.172 324.5);
Tailwind
colors: {
  custom: {
    50: '#a162a4',
    500: '#76187e',
    950: '#000000',
  },
}
SCSS
$custom: #76187e;
$custom-light: #a162a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76187e",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 295.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.17244,
    "h": 324.5
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#76187E
secondary
#48B23F
accent
#EB3D4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76187E

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

Preview Lab → · Contrast checker → · Palette generator →

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