#77186F#77186F

#77186F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.161 H 331.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#77186F
RGBrgb(119, 24, 111)
HSLhsl(305, 66%, 28%)
HSVhsv(305, 80%, 47%)
CMYKcmyk(0%, 79.8%, 6.7%, 53.3%)
CIE-LABlab(28.70, 49.51, -27.51)
CIE-LCHlch(28.70, 56.64, 330.94°)
OKLaboklab(40.67% 0.142 -0.0757)
OKLCHoklch(40.67% 0.161 331.9)
XYZxyz(10.8037, 5.7238, 15.5716)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77186F #187720
analogous
#501877 #77186F #77183F
triadic
#77186F #6F7718 #186F77
tetradic
#77186F #775018 #187720 #183F77
square
#77186F #775018 #187720 #183F77
split-complementary
#77186F #3F7718 #187750
monochromatic
#190518 #440E3F #77186F #AA229F #D633C8

Accessibility & contrast

On white

9.79
#77186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#77186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77186F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77186F#FFFFFF#000000##FFFFFF
##77186F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#7C2443
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #77186f;
/* rgb */ color: rgb(119, 24, 111);
/* oklch */ color: oklch(40.7% 0.161 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26198',
    500: '#77186f',
    950: '#000000',
  },
}
SCSS
$custom: #77186f;
$custom-light: #a26198;
$custom-dark: #000000;
JSON
{
  "hex": "#77186f",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 305.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.16093,
    "h": 331.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#77186F
secondary
#3FAC48
accent
#E94D3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #77186F

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

Preview Lab → · Contrast checker → · Palette generator →

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