#76187C#76187C

#76187C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.171 H 325.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#76187C
RGBrgb(118, 24, 124)
HSLhsl(296, 68%, 29%)
HSVhsv(296, 81%, 49%)
CMYKcmyk(4.8%, 80.6%, 0%, 51.4%)
CIE-LABlab(29.31, 51.52, -34.83)
CIE-LCHlch(29.31, 62.19, 325.94°)
OKLaboklab(41.33% 0.1406 -0.097)
OKLCHoklch(41.33% 0.171 325.4)
XYZxyz(11.4357, 5.9608, 19.6131)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187C #1E7C18
analogous
#44187C #76187C #7C1850
triadic
#76187C #7C7618 #187C76
tetradic
#76187C #7C4418 #1E7C18 #18507C
square
#76187C #7C4418 #1E7C18 #18507C
split-complementary
#76187C #507C18 #187C44
monochromatic
#18051A #450E49 #76187C #A722AF #CE36D8

Accessibility & contrast

On white

9.58
#76187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#76187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76187C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187C#FFFFFF#000000##FFFFFF
##76187C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#792B4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187c;
/* rgb */ color: rgb(118, 24, 124);
/* oklch */ color: oklch(41.3% 0.171 325.4);
Tailwind
colors: {
  custom: {
    50: '#a162a2',
    500: '#76187c',
    950: '#000000',
  },
}
SCSS
$custom: #76187c;
$custom-light: #a162a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76187c",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 296.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.1708,
    "h": 325.4
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#76187C
secondary
#46B13F
accent
#EA3D48
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76187C

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

Preview Lab → · Contrast checker → · Palette generator →

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