#76186C#76186C

#76186C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.158 H 333.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#76186C
RGBrgb(118, 24, 108)
HSLhsl(306, 66%, 28%)
HSVhsv(306, 80%, 46%)
CMYKcmyk(0%, 79.7%, 8.5%, 53.7%)
CIE-LABlab(28.35, 48.79, -26.16)
CIE-LCHlch(28.35, 55.36, 331.80°)
OKLaboklab(40.33% 0.1408 -0.0719)
OKLCHoklch(40.33% 0.158 333)
XYZxyz(10.5047, 5.5884, 14.7099)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76186C #187622
analogous
#511876 #76186C #76183D
triadic
#76186C #6C7618 #186C76
tetradic
#76186C #765118 #187622 #183D76
square
#76186C #765118 #187622 #183D76
split-complementary
#76186C #3D7618 #187651
monochromatic
#190517 #430E3D #76186C #A9229B #D533C4

Accessibility & contrast

On white

9.92
#76186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#76186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76186C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76186C#FFFFFF#000000##FFFFFF
##76186C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#38486A
Tritanopia (blue-blind)
#7C2341
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76186c;
/* rgb */ color: rgb(118, 24, 108);
/* oklch */ color: oklch(40.3% 0.158 333.0);
Tailwind
colors: {
  custom: {
    50: '#a16196',
    500: '#76186c',
    950: '#000000',
  },
}
SCSS
$custom: #76186c;
$custom-light: #a16196;
$custom-dark: #000000;
JSON
{
  "hex": "#76186c",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 306.383,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.15809,
    "h": 333
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#76186C
secondary
#3FAB4A
accent
#E9513F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76186C

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

Preview Lab → · Contrast checker → · Palette generator →

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