#76186D#76186D

#76186D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 332.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#76186D
RGBrgb(118, 24, 109)
HSLhsl(306, 66%, 28%)
HSVhsv(306, 80%, 46%)
CMYKcmyk(0%, 79.7%, 7.6%, 53.7%)
CIE-LABlab(28.41, 48.95, -26.71)
CIE-LCHlch(28.41, 55.77, 331.38°)
OKLaboklab(40.39% 0.1409 -0.0735)
OKLCHoklch(40.39% 0.159 332.5)
XYZxyz(10.5582, 5.6098, 14.9918)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76186D #187621
analogous
#501876 #76186D #76183E
triadic
#76186D #6D7618 #186D76
tetradic
#76186D #765018 #187621 #183E76
square
#76186D #765018 #187621 #183E76
split-complementary
#76186D #3E7618 #187650
monochromatic
#190517 #430E3E #76186D #A9229C #D533C6

Accessibility & contrast

On white

9.90
#76186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76186D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76186D#FFFFFF#000000##FFFFFF
##76186D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#38486B
Tritanopia (blue-blind)
#7B2341
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #76186d;
/* rgb */ color: rgb(118, 24, 109);
/* oklch */ color: oklch(40.4% 0.159 332.5);
Tailwind
colors: {
  custom: {
    50: '#a16197',
    500: '#76186d',
    950: '#000000',
  },
}
SCSS
$custom: #76186d;
$custom-light: #a16197;
$custom-dark: #000000;
JSON
{
  "hex": "#76186d",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 305.745,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.15886,
    "h": 332.5
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#76186D
secondary
#3FAB49
accent
#E94F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #76186D

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

Preview Lab → · Contrast checker → · Palette generator →

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