#76186F#76186F

#76186F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 331.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#76186F
RGBrgb(118, 24, 111)
HSLhsl(304, 66%, 28%)
HSVhsv(304, 80%, 46%)
CMYKcmyk(0%, 79.7%, 5.9%, 53.7%)
CIE-LABlab(28.52, 49.28, -27.82)
CIE-LCHlch(28.52, 56.59, 330.56°)
OKLaboklab(40.51% 0.1409 -0.0766)
OKLCHoklch(40.51% 0.16 331.5)
XYZxyz(10.6671, 5.6534, 15.5652)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76186F #18761F
analogous
#4E1876 #76186F #761840
triadic
#76186F #6F7618 #186F76
tetradic
#76186F #764E18 #18761F #184076
square
#76186F #764E18 #18761F #184076
split-complementary
#76186F #407618 #18764E
monochromatic
#190518 #430E3F #76186F #A9229F #D533C9

Accessibility & contrast

On white

9.86
#76186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#76186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76186F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76186F#FFFFFF#000000##FFFFFF
##76186F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#7B2443
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76186f;
/* rgb */ color: rgb(118, 24, 111);
/* oklch */ color: oklch(40.5% 0.160 331.5);
Tailwind
colors: {
  custom: {
    50: '#a16199',
    500: '#76186f',
    950: '#000000',
  },
}
SCSS
$custom: #76186f;
$custom-light: #a16199;
$custom-dark: #000000;
JSON
{
  "hex": "#76186f",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 304.468,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40508,
    "c": 0.1604,
    "h": 331.5
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#76186F
secondary
#3FAB47
accent
#E94B3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #76186F

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

Preview Lab → · Contrast checker → · Palette generator →

#76186F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva